Interface SubjectFacet
- 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:
SubjectFacetImpl
@TypeMetadata(name="SubjectFacet",
description="SubjectFacet captures information on subjects associated with the resource for description, classification and discovery purposes.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface SubjectFacet
extends org.gcube.informationsystem.model.reference.entities.Facet
SubjectFacet captures information on subjects associated with the resource for
description, classification and discovery purposes.
https://wiki.gcube-system.org/gcube/GCube_Model#Subject_Facet
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionThe value of the subject according to the schemavoidsetSubject(ValueSchema subject) Sets the value of the subject according to the schemaMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
The name associated with this facet- See Also:
-
-
Method Details
-
getSubject
@ISProperty(description="The value of the subject according to the schema", mandatory=true, nullable=false) ValueSchema getSubject()The value of the subject according to the schema- Returns:
- the subject
-
setSubject
Sets the value of the subject according to the schema- Parameters:
subject- the subject
-