Class MetadataDef

  • All Implemented Interfaces:
    Metadata

    public class MetadataDef
    extends Object
    implements Metadata
    A generic metadata definition.
    Author:
    burgetr
    • Field Detail

      • type

        public String type
        Metadata type (e.g. MIME type)
      • content

        public Object content
        Metadata representation. The format depends on the metadata type;
    • Constructor Detail

      • MetadataDef

        public MetadataDef()
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Metadata
        Metadata type (e.g. MIME type)
        Specified by:
        getType in interface Metadata
      • setType

        public void setType​(String type)
      • getContent

        public Object getContent()
        Description copied from interface: Metadata
        Metadata content representation. The format depends on the metadata type.
        Specified by:
        getContent in interface Metadata
      • setContent

        public void setContent​(Object content)