public interface MetadataContributable
Modifier and Type | Method and Description |
---|---|
void |
clearMetadataMap()
Removes all the items in the metadata map.
|
Object |
getMetadata(String name)
Get the metadata value by the
name , or null if not found. |
Map<String,Object> |
getMetadataMap()
Return unmodifiable metadata map.
|
void |
putMetadata(String name,
Object value)
Put a metadata,
value , by the name . |
Object |
removeMetadata(String name)
Remove the existing metadata value by the
name and return the old metadata value if removed. |
Map<String,Object> getMetadataMap()
void putMetadata(String name, Object value)
value
, by the name
.name
- metadata namevalue
- metadata valueObject getMetadata(String name)
name
, or null if not found.name
- metadata nameObject removeMetadata(String name)
name
and return the old metadata value if removed.
Or null if nothing was removed.name
- void clearMetadataMap()
Copyright © 2008–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.