Modifier and Type | Method and Description |
---|---|
Map<String,String> |
asMap()
Copies the metadata into a new mutable map.
|
Metadata |
clone() |
boolean |
containsKey(String key) |
static Metadata |
create() |
static Metadata |
create(String fingerprint) |
abstract String |
fingerprint()
The fingerprint for the items - needed for updating them.
|
String |
get(String key)
Returns the value with the supplied key, or null.
|
Metadata |
put(String key,
String value)
Adds or replaces a metadata entry.
|
Metadata |
putAll(Map<String,String> input)
Adds or replaces metadata entries.
|
Metadata |
remove(String key)
Removes any entry with the supplied key.
|
int |
size() |
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.