Class MetaDataSet
java.lang.Object
org.silverpeas.components.gallery.model.MetaDataSet
- All Implemented Interfaces:
Serializable
A set of metadata embedded in a media.
- Author:
- mmoquillon
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaData(MetaData data) Adds a metadata.getMetaData(String property) Gets a metadata according to the specified property name.Gets all metadata property names.
-
Method Details
-
addMetaData
Adds a metadata.- Parameters:
data- a metadata.
-
getMetaData
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
Gets all metadata property names.- Returns:
- the list of metadata property names, empty list if no metadata.
-