java.lang.Object
com.webmethods.caf.faces.data.dir.query.Term
All Implemented Interfaces:
Serializable

public class Term extends Object implements Serializable
Individual query term. Use to store an attribute value and a principal attribute provider. The term's id is incremented by one for each new instance of this class.
See Also:
  • Field Details

  • Constructor Details

    • Term

      public Term()
  • Method Details

    • getId

      public String getId()
      The numerical id value for this term.
      Returns:
      String - Represents an integer value as an id.
    • getAttrValueSource

      public PrincipalAttributeValueSource getAttrValueSource()
      Get the currently principal attribute provider for this term.
      Returns:
      PrincipalAttributeValueSource - The object wrapper for the attribute provider URI and the attribute name.
    • setAttrValueSource

      public void setAttrValueSource(PrincipalAttributeValueSource subject)
      Set the currently principal attribute provider for this term.
      Parameters:
      subject - An PrincipalAttributeValueSource wrapper for the attribute provider URI and the attribute name.
    • getAttrValue

      public String getAttrValue()
      Get the attribute value for this term.
      Returns:
      String - The attribute value.
    • setAttrValue

      public void setAttrValue(String attrValue)
      Set the attribute value for this term.
      Parameters:
      attrValue - The string value to set the attribute to.