|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.common.DelimitedMultiValueAttribute
public class DelimitedMultiValueAttribute
Represents a multi-valued attribute in which each value contains a
delimited key-value pair. Primarily serves as a conversion helper to store
and load the delimited value in a AttributeValue object.
| Constructor Summary | |
|---|---|
DelimitedMultiValueAttribute(AttributeValue attrVal)
Loads the delimited values contained by the given attribute value. |
|
DelimitedMultiValueAttribute(java.lang.String attributeName)
Constructs an empty attribute with the given name. |
|
| Method Summary | |
|---|---|
AttributeValue |
getAttributeValue()
Constructs an AttributeValue object containing all of the
values represented by this attribute. |
AttributeValue |
getAttributeValue(java.lang.String key)
Constructs an AttributeValue object containing a single
value for the key-value pair identified by the given key. |
java.util.Set<java.lang.String> |
getKeySet()
Provides the keys for the delimited values currently stored in this attribute. |
java.lang.String |
getValue(java.lang.String key)
Retrieves the value, if any, associated with the given key. |
void |
setValue(java.lang.String key,
java.lang.String value)
Sets the value for the given key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelimitedMultiValueAttribute(AttributeValue attrVal)
attrVal - attribute value containing delimited values.public DelimitedMultiValueAttribute(java.lang.String attributeName)
attributeName - name of the attribute.| Method Detail |
|---|
public void setValue(java.lang.String key,
java.lang.String value)
key - value - value to set.public java.lang.String getValue(java.lang.String key)
key -
public java.util.Set<java.lang.String> getKeySet()
public AttributeValue getAttributeValue(java.lang.String key)
AttributeValue object containing a single
value for the key-value pair identified by the given key. The value of
the object will be a delimited string containing both the key and the
value.
key -
public AttributeValue getAttributeValue()
AttributeValue object containing all of the
values represented by this attribute. Each value will be a delimited
string containing a key-value pair.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||