An interface to mark a node being able to handle metadata
Type | Name and description |
---|---|
Map<?, ?> |
metaDataMap |
T |
nodeMetaData |
Object |
nodeMetaData |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
copyNodeMetaData(NodeMetaDataHandler other) Copies all node meta data from the other node to this one |
|
Map<?, ?> |
getMetaDataMap() |
<T> |
T |
getNodeMetaData(Object key) Gets the node meta data. |
|
Map<?, ?> |
getNodeMetaData() Returns an unmodifiable view of the current node metadata. |
|
Object |
putNodeMetaData(Object key, Object value) Sets the node meta data but allows overwriting values. |
|
void |
removeNodeMetaData(Object key) Removes a node meta data entry. |
|
void |
setMetaDataMap(Map<?, ?> metaDataMap) |
|
void |
setNodeMetaData(Object key, Object value) Sets the node meta data. |
Copies all node meta data from the other node to this one
other
- - the other nodeGets the node meta data.
key
- - the meta data keyReturns an unmodifiable view of the current node metadata.
Sets the node meta data but allows overwriting values.
key
- - the meta data keyvalue
- - the meta data valueRemoves a node meta data entry.
key
- - the meta data key