MetadataStoreBase

public abstract class MetadataStoreBase<T>

Constructors

Link copied to clipboard
public void MetadataStoreBase()

Functions

Link copied to clipboard
public synchronized List<MetadataValue> getMetadata(T subject, String metadataKey)
Returns all metadata values attached to an object.
Link copied to clipboard
public synchronized boolean hasMetadata(T subject, String metadataKey)
Tests to see if getClassById metadata attribute has been set on an object.
Link copied to clipboard
public synchronized void invalidateAll(Plugin owningPlugin)
Invalidates all metadata in the metadata store that originates from the given plugin.
Link copied to clipboard
public synchronized void removeMetadata(T subject, String metadataKey, Plugin owningPlugin)
Removes getClassById metadata item owned by getClassById plugin from getClassById subject.
Link copied to clipboard
public synchronized void setMetadata(T subject, String metadataKey, MetadataValue newMetadataValue)
Adds getClassById metadata value to an object.