com.ibm.itim.apps.provisioning
Class AttributeProperty

java.lang.Object
  extended by com.ibm.itim.apps.provisioning.AttributeProperty
All Implemented Interfaces:
java.io.Serializable

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

This class holds attribute properties. Attribute properties like whether it is single valued or not, and the user friendly display name for the distinguished name attribute are stored in this data object.

Since:
ITIM 4.6
See Also:
Serialized Form

Constructor Summary
AttributeProperty(java.lang.String attributeName, boolean isSingleValued)
          Creates AttributeProperty object with the attribute name and the boolean value that tells whether this attribute is single valued or not.
AttributeProperty(java.lang.String attributeName, boolean isSingleValued, java.util.HashMap resolvedNameMap)
          Crates AttributeProperty object with attribute name, the boolean value that tells whetehr this attribute is singe valued or not, and map of raw value and the resolved display name.
 
Method Summary
 void addDisplayName(java.lang.String rawValue, java.lang.String displayName)
          Register the raw attribute name with the display name.
 java.lang.String getAttributeName()
          Gets the attribute name.
 java.lang.String getDisplayName(java.lang.String rawValue)
          Gets the display name for the raw attribute value.
 boolean isSingleValued()
          Tells whether this attribute is for single valued attribute.
 java.lang.String toString()
          Creates the string representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeProperty

public AttributeProperty(java.lang.String attributeName,
                         boolean isSingleValued)
Creates AttributeProperty object with the attribute name and the boolean value that tells whether this attribute is single valued or not.

Parameters:
attributeName - The name of the attribute.
isSingleValued - The boolean value tells whether this attribute is for the single valued attribute or not. Pass true for single valued attribute; false otherwise

AttributeProperty

public AttributeProperty(java.lang.String attributeName,
                         boolean isSingleValued,
                         java.util.HashMap resolvedNameMap)
Crates AttributeProperty object with attribute name, the boolean value that tells whetehr this attribute is singe valued or not, and map of raw value and the resolved display name.

Parameters:
attributeName - The name of the attribute name.
isSingleValued - true if this attribute is for single valued attribute; false otherwise.
resolvedNameMap - The map of raw attribute value and the resolved display name.
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Gets the attribute name.

Returns:
The attribute name.

isSingleValued

public boolean isSingleValued()
Tells whether this attribute is for single valued attribute.

Returns:
true if this attribute is single valued attribute; false otherwise.

getDisplayName

public java.lang.String getDisplayName(java.lang.String rawValue)
Gets the display name for the raw attribute value.

Parameters:
rawValue - The raw attribute value.
Returns:
The display name.

addDisplayName

public void addDisplayName(java.lang.String rawValue,
                           java.lang.String displayName)
Register the raw attribute name with the display name.

Parameters:
rawValue - The raw value for the attribute name.
displayName - The display name.

toString

public java.lang.String toString()
Creates the string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
The string representation of this object.


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.