public class ComplexValue extends HashMap<String,SimpleValue>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ComplexValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String name)
Returns true if the ComplexAttribute contains a sub-attribute with the
specified name.
|
SimpleValue |
get(String name)
Returns a SimpleValue for the specified sub-attribute name.
|
byte[] |
getBinaryValue(String name)
Get the value of a Binary-valued sub-attribute.
|
Boolean |
getBooleanValue(String name)
Get the value of a Boolean-valued sub-attribute.
|
Date |
getDateValue(String name)
Get the value of a Date-valued sub-attribute.
|
Double |
getDoubleValue(String name)
Get the value of a Double-valued sub-attribute.
|
Long |
getLongValue(String name)
Get the value of a Long-valued sub-attribute.
|
String |
getStringValue(String name)
Get the value of a sub-attribute as a string.
|
void |
puDateValue(String name,
Date value)
Deprecated.
|
SimpleValue |
put(String name,
SimpleValue value)
Overridden from HashMap.
|
void |
putBinaryValue(String name,
byte[] value)
Set the value of a Binary-valued sub-attribute.
|
void |
putBooleanValue(String name,
Boolean value)
Set the value of a Boolean-valued sub-attribute.
|
void |
putDateValue(String name,
Date value)
Set the value of a Date-valued sub-attribute.
|
void |
putDoubleValue(String name,
Double value)
Set the value of a Double-valued sub-attribute.
|
void |
putLongValue(String name,
Long value)
Set the value of a Long-valued sub-attribute.
|
void |
putStringValue(String name,
String value)
Set the value of a sub-attribute as a string.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, valuesequals, hashCode, toStringpublic ComplexValue()
public SimpleValue put(String name, SimpleValue value)
put in interface Map<String,SimpleValue>put in class HashMap<String,SimpleValue>name - the sub-attribute name.value - the sub-attribute value as a SimpleValue object.public SimpleValue get(String name)
name - sub-attribute name.public boolean containsKey(String name)
name - sub-attribute name.public void putStringValue(String name, String value)
name - sub-attribute name.value - sub-attribute value.public void putBooleanValue(String name, Boolean value)
name - sub-attribute name.value - sub-attribute value.public void putDoubleValue(String name, Double value)
name - sub-attribute name.value - sub-attribute value.public void putLongValue(String name, Long value)
name - sub-attribute name.value - sub-attribute value.@Deprecated public void puDateValue(String name, Date value)
name - sub-attribute name.value - sub-attribute value.public void putDateValue(String name, Date value)
name - sub-attribute name.value - sub-attribute value.public void putBinaryValue(String name, byte[] value)
name - sub-attribute name.value - sub-attribute value.public String getStringValue(String name)
name - sub-attribute name.public Boolean getBooleanValue(String name)
name - sub-attribute name.public Double getDoubleValue(String name)
name - sub-attribute name.public Long getLongValue(String name)
name - sub-attribute name.public Date getDateValue(String name)
name - sub-attribute name.public byte[] getBinaryValue(String name)
name - sub-attribute name.Copyright © 2011–2016 UnboundID. All rights reserved.