Interface DescriptiveMetadataFacet
-
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
DescriptiveMetadataFacetImpl
@TypeMetadata(name="DescriptiveMetadataFacet", description="DescriptiveMetadataFacet captures information on descriptive metadata to be associated with the resource. This facet is mainly used to attach metadata to a Dataset.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface DescriptiveMetadataFacet extends org.gcube.informationsystem.model.reference.entities.FacetDescriptiveMetadataFacet captures information on descriptive metadata to be associated with the resource. This facet is mainly used to attach metadata to a Dataset. https://wiki.gcube-system.org/gcube/GCube_Model#Descriptive_Metadata_Facet- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEThe name associated with this facet-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static DescriptiveMetadataFacetgetDefaultInstance()Returns a default instance of DescriptiveMetadataFacetValueSchemagetDescriptiveMetadata()A metadata record representing the descriptive metadata according to the schemavoidsetDescriptiveMetadata(ValueSchema metadata)Sets a metadata record representing the descriptive metadata according to the schema-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name associated with this facet- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
static DescriptiveMetadataFacet getDefaultInstance()
Returns a default instance of DescriptiveMetadataFacet- Returns:
- a default instance of DescriptiveMetadataFacet
-
getDescriptiveMetadata
@ISProperty(description="A metadata record representing the descriptive metadata according to the schema", mandatory=true, nullable=false) ValueSchema getDescriptiveMetadata()A metadata record representing the descriptive metadata according to the schema- Returns:
- the metadata
-
setDescriptiveMetadata
void setDescriptiveMetadata(ValueSchema metadata)
Sets a metadata record representing the descriptive metadata according to the schema- Parameters:
metadata- the metadata
-
-