com.ibm.itim.common
Class ComplexAttributeValue

java.lang.Object
  extended by com.ibm.itim.common.ComplexAttributeValue
All Implemented Interfaces:
java.io.Serializable

public class ComplexAttributeValue
extends java.lang.Object
implements java.io.Serializable

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.

Since:
TIM 5.0
See Also:
Serialized Form

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

ComplexAttributeValue

public ComplexAttributeValue()
Default Constructor


ComplexAttributeValue

public ComplexAttributeValue(java.lang.String id,
                             AttributeValues subAttributes)
Constructs complex attribute value with an unique id and a collection sub attributes

Parameters:
id - Unique id of the attribute value.
subAttributes - Sub attributes of an attribute value.
Method Detail

getId

public java.lang.String getId()
Returns the unique id of the attribute value

Returns:
String Unique id of the attribute value

setId

public void setId(java.lang.String id)
Sets the unique id of the attribute value

Parameters:
id - Unique id of the attribute value

getSubAttributes

public AttributeValues getSubAttributes()
Returns the sub attribute values of a complex attribute value

Returns:
AttributeValues

setSubAttributes

public void setSubAttributes(AttributeValues attrs)
Sets the sub attribute values of a complex attribute value

Parameters:
attrs - The sub attribute values

getSubAttribute

public AttributeValue getSubAttribute(java.lang.String attrName)
Returns the value of one sub attribute

Parameters:
attrName - Name of a sub attribute
Returns:
AttributeValue of the sub attribute

setSubAttribute

public void setSubAttribute(AttributeValue attr)
Sets the value of one sub attribute

Parameters:
attr - Value of a sub attribute


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.