Class EntityImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.entities.EntityElementImpl
-
- org.gcube.informationsystem.model.impl.entities.EntityImpl
-
- All Implemented Interfaces:
Serializable,Element,EntityElement,IdentifiableElement,Entity,ERElement,ModelElement
- Direct Known Subclasses:
FacetImpl,ResourceImpl
public abstract class EntityImpl extends EntityElementImpl implements Entity
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<UUID,String>contextsprotected Stringexpectedtypeprotected List<String>supertypes-
Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuid
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<UUID,String>getContexts()StringgetExpectedtype()List<String>getSupertypes()protected voidsetContexts(Map<UUID,String> contexts)-
Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadata, toString
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName
-
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
-
-
-
-
Method Detail
-
getSupertypes
public List<String> getSupertypes()
- Specified by:
getSupertypesin interfaceModelElement
-
getExpectedtype
public String getExpectedtype()
- Specified by:
getExpectedtypein interfaceModelElement
-
getContexts
public Map<UUID,String> getContexts()
- Specified by:
getContextsin interfaceERElement
-
-