Interface MetadataRegistry

  • All Superinterfaces:
    Registry<Metadata,​MetadataKey>

    @NonNullByDefault
    public interface MetadataRegistry
    extends Registry<Metadata,​MetadataKey>
    The MetadataRegistry is the central place, where additional information about items is kept. Metadata can be supplied by MetadataProviders, which can provision them from any source they like and also dynamically remove or add data.
    Author:
    Kai Kreuzer - Initial contribution
    • Method Detail

      • isInternalNamespace

        boolean isInternalNamespace​(String namespace)
        Determines whether the given namespace is internal.
        Parameters:
        namespace - the metadata namespace to check
        Returns:
        true if the given namespace is internal, false otherwise
      • removeItemMetadata

        void removeItemMetadata​(String name)
        Remove all metadata of a given item
        Parameters:
        itemname - the name of the item for which the metadata is to be removed.