|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.common.ComplexAttributeValue
public class ComplexAttributeValue
This class defines a value of a complex attribute. A complex attribute is one type of attribute that could be either single or multi value. Each attribute value is defined by ComplexAttributeValue object which contains an id and a set of sub-attributes. Each sub attribute is an AttributeValue which can be either single or multi valued, and its value can be represented as ComplexAttributeValue as well.
Constructor Summary | |
---|---|
ComplexAttributeValue()
Default Constructor |
|
ComplexAttributeValue(java.lang.String id,
AttributeValues subAttributes)
Constructs complex attribute value with an unique id and a collection sub attributes |
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the unique id of the attribute value |
AttributeValue |
getSubAttribute(java.lang.String attrName)
Returns the value of one sub attribute |
AttributeValues |
getSubAttributes()
Returns the sub attribute values of a complex attribute value |
void |
setId(java.lang.String id)
Sets the unique id of the attribute value |
void |
setSubAttribute(AttributeValue attr)
Sets the value of one sub attribute |
void |
setSubAttributes(AttributeValues attrs)
Sets the sub attribute values of a complex attribute value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComplexAttributeValue()
public ComplexAttributeValue(java.lang.String id, AttributeValues subAttributes)
id
- Unique id of the attribute value.subAttributes
- Sub attributes of an attribute value.Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- Unique id of the attribute valuepublic AttributeValues getSubAttributes()
public void setSubAttributes(AttributeValues attrs)
attrs
- The sub attribute valuespublic AttributeValue getSubAttribute(java.lang.String attrName)
attrName
- Name of a sub attribute
public void setSubAttribute(AttributeValue attr)
attr
- Value of a sub attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |