public interface IMetadataProvider
Modifier and Type | Method and Description |
---|---|
void |
addOrReplaceMetadata(java.lang.String name,
java.lang.String value)
Add or replace a metadata field.
|
void |
clearMetadata()
Clear existing metadata.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get a map of all metadata.
|
java.lang.String |
getMetadata(java.lang.String name)
Get value of metadata field.
|
java.lang.String |
removeMetadata(java.lang.String name)
Remove a metadata field.
|
void addOrReplaceMetadata(java.lang.String name, java.lang.String value) throws SiteWhereException
name
- value
- SiteWhereException
java.lang.String removeMetadata(java.lang.String name)
name
- java.lang.String getMetadata(java.lang.String name)
name
- java.util.Map<java.lang.String,java.lang.String> getMetadata()
void clearMetadata()