Class Term
java.lang.Object
com.webmethods.caf.faces.data.dir.query.Term
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected PrincipalAttributeValueSource
protected String
protected static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the attribute value for this term.Get the currently principal attribute provider for this term.getId()
The numerical id value for this term.void
setAttrValue
(String attrValue) Set the attribute value for this term.void
Set the currently principal attribute provider for this term.
-
Field Details
-
s_nextId
protected static int s_nextId -
m_id
-
m_attrValueSource
-
m_attrValue
-
-
Constructor Details
-
Term
public Term()
-
-
Method Details
-
getId
The numerical id value for this term.- Returns:
- String - Represents an integer value as an id.
-
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
Set the currently principal attribute provider for this term.- Parameters:
subject
- An PrincipalAttributeValueSource wrapper for the attribute provider URI and the attribute name.
-
getAttrValue
Get the attribute value for this term.- Returns:
- String - The attribute value.
-
setAttrValue
Set the attribute value for this term.- Parameters:
attrValue
- The string value to set the attribute to.
-