Class ElementImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- All Implemented Interfaces:
Serializable,Element
- Direct Known Subclasses:
EntityElementImpl,PropertyElementImpl,RelationElementImpl
public class ElementImpl extends Object implements Element
The default implementation of theElementinterface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTypeName()Returns the name of the element's type.StringtoString()Returns a JSON representation of the element.
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
Returns the name of the element's type. This is typically used for type identification in serialized forms.- Specified by:
getTypeNamein interfaceElement- Returns:
- The type name of the element.
-
-