com.ca.commons.datamodel
Class DataModelMapValue
java.lang.Object
com.ca.commons.datamodel.DataModelMapValue
public final class DataModelMapValue
- extends Object
Represents a map value which consists of key (DataModelValue) /
value (DataModelCollection) pairs - original insertion order is preserved.
DataModelMapValue
public DataModelMapValue(@NotNull
DataModelValue keyType,
@NotNull
DataModelValue valueType,
@NotNull
Map<? extends DataModelValue,? extends DataModelValue> values)
getValues
@NotNull
public Map<DataModelValue,DataModelValue> getValues()
- Returns an immutable map of String /
DataModelValue pairs.
get
@NotNull
public DataModelValue get(@NotNull
DataModelValue key)
getKeyType
@NotNull
public DataModelValue getKeyType()
getValueType
@NotNull
public DataModelValue getValueType()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
@NotNull
public String toString()
- Overrides:
toString in class Object
Created 2011-07-14 13:27 EST