public class ComplexAttributeHandler
extends java.lang.Object
| Constructor and Description |
|---|
ComplexAttributeHandler(DistinguishedName tenantDN,
java.lang.String serviceProfileName) |
ComplexAttributeHandler(ServiceProfile svcProfile) |
| Modifier and Type | Method and Description |
|---|---|
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
|
com.ibm.isim.util.complexattribute.ComplexAttributeValue |
getAttributeValue(java.lang.String attrName,
java.util.List<com.ibm.isim.common.BasicAttributeValue> subAttributes)
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
|
com.ibm.isim.util.complexattribute.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,
com.ibm.isim.util.complexattribute.ComplexAttributeValue value)
Returns the string representation of the complex attribute using pre-defined format by the specific
attribute handler.
|
java.util.List<com.ibm.isim.common.BasicAttributeValue> |
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.
|
boolean |
hasValue(java.lang.String attrName,
java.util.Collection<java.lang.Object> values,
java.lang.String valueToCheck) |
boolean |
isValid(java.lang.String attrName,
java.lang.String attrValueString) |
java.lang.String |
normalize(java.lang.String attrName,
java.lang.String attributeValueAsString) |
public ComplexAttributeHandler(ServiceProfile svcProfile)
public ComplexAttributeHandler(DistinguishedName tenantDN, java.lang.String serviceProfileName)
public com.ibm.isim.util.complexattribute.ComplexAttributeValue getAttributeValue(java.lang.String attrName,
java.lang.String attributeValueAsString)
attrName - The name of the attributeattributeValueAsString - A string representation of a attribute value.public com.ibm.isim.util.complexattribute.ComplexAttributeValue getAttributeValue(java.lang.String attrName,
java.util.List<com.ibm.isim.common.BasicAttributeValue> subAttributes)
attrName - The name of the attributeattributeValueAsString - A string representation of a attribute value.public java.lang.String getString(java.lang.String attrName,
com.ibm.isim.util.complexattribute.ComplexAttributeValue value)
attrName - The name of the attributevalue - The value of a complex attribute. A complex attribute can be either single or multi valuedpublic java.util.List<com.ibm.isim.common.BasicAttributeValue> getSubAttributeDefaults(java.lang.String attrName)
attrName - The name of the attributepublic boolean equals(java.lang.String attrName,
java.lang.String value1,
java.lang.String value2)
attrName - The name of the attributevalue1 - The value of a complex attributevalue2 - The value of a complex attributepublic boolean isValid(java.lang.String attrName,
java.lang.String attrValueString)
public boolean hasValue(java.lang.String attrName,
java.util.Collection<java.lang.Object> values,
java.lang.String valueToCheck)
public java.lang.String normalize(java.lang.String attrName,
java.lang.String attributeValueAsString)