Interface FacetSchema
- All Superinterfaces:
Element,EntityElement,EntitySchema,IdentifiableElement,Serializable,Type
- All Known Implementing Classes:
FacetSchemaImpl
@TypeMetadata(name="FacetSchema",
description="Defines the type of a Facet, extending EntitySchema with the set of PropertyDefinitions that specify the Facet\'s properties.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface FacetSchema
extends EntitySchema
Defines the type of a
Facet.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USERFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.types.reference.Type
ABSTRACT_PROPERTY, CHANGELOG_PROPERTY, DESCRIPTION_PROPERTY, EXTENDED_TYPES_PROPERTY, FINAL_PROPERTY, LOCKED_PROPERTY, NAME_PROPERTY, NAME_REGEX, PROPERTIES_PROPERTY, VERSION_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionReturns the properties defined by this type.Methods 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.types.reference.entities.EntitySchema
getDescription, getExtendedTypes, getName, isAbstractMethods inherited from interface org.gcube.informationsystem.types.reference.Type
getAccessType, getAdditionalProperties, getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getVersion, getVersionAsString, isFinal, isLocked, setAdditionalProperty, setExtendedTypes, setID, setLocked, setMetadata
-
Field Details
-
NAME
The name of the FacetSchema.- See Also:
-
-
Method Details
-
getProperties
@ISProperty(name="properties", readonly=false, mandatory=true) List<PropertyDefinition> getProperties()Returns the properties defined by this type.A
Listbecause the order carries meaning: properties are read in the order the Java class declares them, which is the intended reading order for anyone looking at the type definition. ASetwould map to an unordered store and lose it.- Specified by:
getPropertiesin interfaceType- Returns:
- The
PropertyDefinitions, in declaration order.
-