com.ibm.itim.dataservices.model
Interface ComplexAttributeHandler


public interface ComplexAttributeHandler

This defines a generic interface to handle complex attribute


Method Summary
 boolean equals(java.lang.String attrName, java.lang.String value1, java.lang.String value2)
          Compares the two attribute values for a complex attribute and see if the values are equal or not
 ComplexAttributeValue getAttributeValue(java.lang.String attrName, java.lang.String attributeValueAsString)
          Constructs the ComplexAttributeValue object given the name and string representation of the attribute value assuming that the string format can be understood by the specific attribute handler
 java.lang.String getString(java.lang.String attrName, ComplexAttributeValue value)
          Returns the string representation of the complex attribute using pre-defined format by the specific attribute handler.
 AttributeValues getSubAttributeDefaults(java.lang.String attrName)
          Constructs set of sub-attributes for a complex attribute value The implementation of the handler will determine where the defaults are specified or how it is being generated.
 

Method Detail

getAttributeValue

ComplexAttributeValue getAttributeValue(java.lang.String attrName,
                                        java.lang.String attributeValueAsString)
Constructs the ComplexAttributeValue object given the name and string representation of the attribute value assuming that the string format can be understood by the specific attribute handler

Parameters:
attrName - The name of the attribute
attributeValueAsString - A string representation of a attribute value.
Returns:
ComplexAttributeValue that represents the attribute value

getString

java.lang.String getString(java.lang.String attrName,
                           ComplexAttributeValue value)
Returns the string representation of the complex attribute using pre-defined format by the specific attribute handler.

Parameters:
attrName - The name of the attribute
value - The value of a complex attribute. A complex attribute can be either single or multi valued
Returns:
String to represent the complex attribute value

getSubAttributeDefaults

AttributeValues getSubAttributeDefaults(java.lang.String attrName)
Constructs set of sub-attributes for a complex attribute value The implementation of the handler will determine where the defaults are specified or how it is being generated.

Parameters:
attrName - The name of the attribute
Returns:
AttributeValues that contains the set of default values for the sub-attributes, The default for each sub-attribute is specified in one AttributeValue object which could be either single or multi valued, the name of the AttributeValue object is the name of the sub-attribute

equals

boolean equals(java.lang.String attrName,
               java.lang.String value1,
               java.lang.String value2)
Compares the two attribute values for a complex attribute and see if the values are equal or not

Parameters:
attrName - The name of the attribute
value1 - The value of a complex attribute
value2 - The value of a complex attribute
Returns:
boolean true if the two given values are the same and false otherwise


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.