|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.provisioning.AttributeProperty
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.
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 |
public AttributeProperty(java.lang.String attributeName, boolean isSingleValued)
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 otherwisepublic AttributeProperty(java.lang.String attributeName, boolean isSingleValued, java.util.HashMap resolvedNameMap)
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 |
public java.lang.String getAttributeName()
public boolean isSingleValued()
public java.lang.String getDisplayName(java.lang.String rawValue)
rawValue
- The raw attribute value.
public void addDisplayName(java.lang.String rawValue, java.lang.String displayName)
rawValue
- The raw value for the attribute name.displayName
- The display name.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |