Class EntityTypeImpl
- java.lang.Object
-
- org.gcube.informationsystem.types.impl.TypeImpl
-
- org.gcube.informationsystem.types.impl.entities.EntityTypeImpl
-
- All Implemented Interfaces:
Serializable,Element,EntityElement,IdentifiableElement,EntityType,Type
- Direct Known Subclasses:
FacetTypeImpl,ResourceTypeImpl
public class EntityTypeImpl extends TypeImpl implements EntityType
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Metadatametadata-
Fields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, name, properties, uuid, version
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.entities.EntityType
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, NAME, NAME_PROPERTY, PROPERTIES_PROPERTY, VERSION_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityTypeImpl()EntityTypeImpl(Class<? extends EntityElement> clz)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccessType()static EntityTypegetEntityTypeDefinitionInstance(Class<? extends EntityElement> clz)MetadatagetMetadata()voidsetMetadata(Metadata metadata)StringtoString()-
Methods inherited from class org.gcube.informationsystem.types.impl.TypeImpl
getChangelog, getChangelogWithVersionAsString, getDescription, getExtendedTypes, getGenericClass, getID, getInstance, getName, getProperties, getTypeName, getVersion, getVersionAsString, isAbstract, isFinal, retrieveListOfProperties, retrieveSuperClasses, setChangelog, setID, 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, setID
-
Methods inherited from interface org.gcube.informationsystem.types.reference.entities.EntityType
getDescription, getExtendedTypes, getName, isAbstract
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getChangelog, getChangelogWithVersionAsString, getID, getProperties, getVersion, getVersionAsString, isFinal, setID
-
-
-
-
Field Detail
-
metadata
protected Metadata metadata
-
-
Constructor Detail
-
EntityTypeImpl
protected EntityTypeImpl()
-
EntityTypeImpl
public EntityTypeImpl(Class<? extends EntityElement> clz)
-
-
Method Detail
-
getEntityTypeDefinitionInstance
public static EntityType getEntityTypeDefinitionInstance(Class<? extends EntityElement> clz)
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadatain interfaceEntityElement- Specified by:
getMetadatain interfaceIdentifiableElement- Specified by:
getMetadatain interfaceType- Overrides:
getMetadatain classTypeImpl
-
setMetadata
public void setMetadata(Metadata metadata)
- Specified by:
setMetadatain interfaceEntityElement- Specified by:
setMetadatain interfaceIdentifiableElement- Specified by:
setMetadatain interfaceType- Overrides:
setMetadatain classTypeImpl
-
getAccessType
public AccessType getAccessType()
- Specified by:
getAccessTypein interfaceType- Overrides:
getAccessTypein classTypeImpl
-
-