public abstract class MetadataStore extends Object
| Constructor and Description |
|---|
MetadataStore() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
disambiguate(Metadatable subject,
String metadataKey) |
List<MetadataValue> |
getMetadata(Object subject,
String metadataKey) |
boolean |
hasMetadata(Object subject,
String metadataKey) |
void |
invalidateAll(Plugin owningPlugin) |
void |
removeMetadata(Object subject,
String metadataKey,
Plugin owningPlugin) |
void |
setMetadata(Object subject,
String metadataKey,
MetadataValue newMetadataValue) |
public void setMetadata(Object subject, String metadataKey, MetadataValue newMetadataValue)
public List<MetadataValue> getMetadata(Object subject, String metadataKey)
public void invalidateAll(Plugin owningPlugin)
protected abstract String disambiguate(Metadatable subject, String metadataKey)
Copyright © 2020. All rights reserved.