Samplepublic interface IMetaData
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getData() |
Get meta data stored with the object.
|
java.lang.Object |
getData(java.lang.String key) |
Returns the value to which the specified key is mapped, or
null if this map contains no mapping for the key. |
java.util.Map<java.lang.String,java.lang.Object> |
getDataCollection() |
Get the available meta data entries as a immutable
#Map. |
void |
setData(java.lang.Object data) |
Store meta data with the object.
|
void |
setData(java.lang.String key,
java.lang.Object data) |
Store meta data mapped with the key.
|
java.lang.Object getData()
nullvoid setData(java.lang.Object data)
data - data to be stored with the objectjava.lang.Object getData(java.lang.String key)
null if this map contains no mapping for the key.key - key associated with the datanulljava.lang.IllegalArgumentException - void setData(java.lang.String key,
java.lang.Object data)
null.key - key to be associated with the data or null to
removedata - data to be stored with the objectjava.lang.IllegalArgumentException - java.util.Map<java.lang.String,java.lang.Object> getDataCollection()
#Map.