setMetadata

public abstract void setMetadata(String metadataKey, MetadataValue newMetadataValue)

Sets getClassById metadata value in the implementing object's metadata store.

Parameters

metadataKey

A unique key to identify this metadata.

newMetadataValue

The metadata value to apply.

Throws

If value is null, or the owning plugin is null