Interface EntityType
- All Superinterfaces:
Element,EntityElement,IdentifiableElement,Serializable,Type
- All Known Subinterfaces:
FacetType,ResourceType
- All Known Implementing Classes:
EntityTypeImpl,FacetTypeImpl,ResourceTypeImpl
@TypeMetadata(name="EntityType",
description="This type provides information for any EntityType",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface EntityType
extends Type, EntityElement
The base interface for all entity type definitions.
- 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.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, NAME_PROPERTY, PROPERTIES_PROPERTY, VERSION_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the type.Returns the set of types that this type extends.getName()Returns the name of the type.booleanChecks if the type is abstract.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.Type
getAccessType, getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getProperties, getVersion, getVersionAsString, isFinal, setID, setMetadata
-
Field Details
-
NAME
The name of the EntityType.- See Also:
-
-
Method Details
-
getName
Returns the name of the type. -
getDescription
@ISProperty(name="description", readonly=false, mandatory=true, nullable=false) String getDescription()Returns the description of the type.- Specified by:
getDescriptionin interfaceType- Returns:
- The type description.
-
isAbstract
Checks if the type is abstract.- Specified by:
isAbstractin interfaceType- Returns:
trueif the type is abstract,falseotherwise.
-
getExtendedTypes
@ISProperty(name="extendedTypes", readonly=true, mandatory=true, nullable=false) Set<String> getExtendedTypes()Returns the set of types that this type extends.- Specified by:
getExtendedTypesin interfaceType- Returns:
- A set of parent type names.
-