Class FacetSchemaImpl
- java.lang.Object
-
- org.gcube.informationsystem.types.impl.TypeImpl
-
- org.gcube.informationsystem.types.impl.entities.EntitySchemaImpl
-
- org.gcube.informationsystem.types.impl.entities.FacetSchemaImpl
-
- All Implemented Interfaces:
Serializable,Element,EntityElement,IdentifiableElement,EntitySchema,FacetSchema,Type
public final class FacetSchemaImpl extends EntitySchemaImpl implements FacetSchema
The default implementation of theFacetSchemainterface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PropertyDefinition>propertiesThe properties of the facet type.-
Fields inherited from class org.gcube.informationsystem.types.impl.entities.EntitySchemaImpl
metadata
-
Fields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, additionalProperties, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, locked, name, uuid, version
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USER
-
Fields inherited from interface org.gcube.informationsystem.types.reference.entities.EntitySchema
NAME
-
Fields inherited from interface org.gcube.informationsystem.types.reference.entities.FacetSchema
NAME
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.Type
ABSTRACT_PROPERTY, CHANGELOG_PROPERTY, DESCRIPTION_PROPERTY, EXTENDED_TYPES_PROPERTY, FINAL_PROPERTY, LOCKED_PROPERTY, NAME, NAME_PROPERTY, NAME_REGEX, PROPERTIES_PROPERTY, VERSION_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFacetSchemaImpl()Default constructor.FacetSchemaImpl(Class<? extends Facet> clz)Constructs a newFacetSchemaImplfrom a class.FacetSchemaImpl(String name)Constructs a newFacetSchemaImplwith the given type name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccessType()Returns theAccessTypeof this type definition.List<PropertyDefinition>getProperties()Gets the properties of the type.-
Methods inherited from class org.gcube.informationsystem.types.impl.entities.EntitySchemaImpl
getEntitySchemaInstance, getMetadata, setMetadata, toString
-
Methods inherited from class org.gcube.informationsystem.types.impl.TypeImpl
getAdditionalProperties, getChangelog, getChangelogWithVersionAsString, getDescription, getExtendedTypes, getGenericClass, getID, getInstance, getName, getTypeName, getVersion, getVersionAsString, isAbstract, isFinal, isLocked, retrieveListOfProperties, retrieveSuperClasses, setAdditionalProperty, setChangelog, setExtendedTypes, setID, setLocked, setVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
Methods inherited from interface org.gcube.informationsystem.types.reference.entities.EntitySchema
getDescription, getExtendedTypes, getName, isAbstract
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getAdditionalProperties, getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getVersion, getVersionAsString, isFinal, isLocked, setAdditionalProperty, setExtendedTypes, setID, setLocked, setMetadata
-
-
-
-
Field Detail
-
properties
protected List<PropertyDefinition> properties
The properties of the facet type.
-
-
Constructor Detail
-
FacetSchemaImpl
protected FacetSchemaImpl()
Default constructor.
-
FacetSchemaImpl
public FacetSchemaImpl(String name)
Constructs a newFacetSchemaImplwith the given type name.- Parameters:
name- The type name.
-
-
Method Detail
-
getProperties
public List<PropertyDefinition> getProperties()
Gets the properties of the type.- Specified by:
getPropertiesin interfaceFacetSchema- Specified by:
getPropertiesin interfaceType- Overrides:
getPropertiesin classTypeImpl- Returns:
- the properties of the type
-
getAccessType
public AccessType getAccessType()
Returns theAccessTypeof this type definition.- Specified by:
getAccessTypein interfaceType- Overrides:
getAccessTypein classEntitySchemaImpl- Returns:
- The access type.
-
-