Class MetaDataSet

java.lang.Object
org.silverpeas.components.gallery.model.MetaDataSet
All Implemented Interfaces:
Serializable

public class MetaDataSet extends Object implements Serializable
A set of metadata embedded in a media.
Author:
mmoquillon
See Also:
  • Method Details

    • addMetaData

      public void addMetaData(MetaData data)
      Adds a metadata.
      Parameters:
      data - a metadata.
    • getMetaData

      public MetaData getMetaData(String property)
      Gets a metadata according to the specified property name.
      Parameters:
      property - the property name for which the metadata is requested.
      Returns:
      the metadata if it exists, null otherwise.
    • getMetaDataProperties

      public Collection<String> getMetaDataProperties()
      Gets all metadata property names.
      Returns:
      the list of metadata property names, empty list if no metadata.