public class DelimitedMultiValueAttribute
extends java.lang.Object
AttributeValue object.| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DelimitedMultiValueAttribute(AttributeValue attrVal)
attrVal - attribute value containing delimited values.public DelimitedMultiValueAttribute(java.lang.String attributeName)
attributeName - name of the attribute.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.