com.webmethods.caf.faces.data.dir.query
Class Term

java.lang.Object
  extended by 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:
Serialized Form

Field Summary
protected  String m_attrValue
           
protected  PrincipalAttributeValueSource m_attrValueSource
           
protected  String m_id
           
protected static int s_nextId
           
 
Constructor Summary
Term()
           
 
Method Summary
 String getAttrValue()
          Get the attribute value for this term.
 PrincipalAttributeValueSource getAttrValueSource()
          Get the currently principal attribute provider for this term.
 String getId()
          The numerical id value for this term.
 void setAttrValue(String attrValue)
          Set the attribute value for this term.
 void setAttrValueSource(PrincipalAttributeValueSource subject)
          Set the currently principal attribute provider for this term.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_nextId

protected static int s_nextId

m_id

protected String m_id

m_attrValueSource

protected PrincipalAttributeValueSource m_attrValueSource

m_attrValue

protected String m_attrValue
Constructor Detail

Term

public Term()
Method Detail

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.