Interface Element
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ConsistsOf<S,T>,ConsistsOfType,Context,Encrypted,Entity,EntityElement,EntityType,ERElement,Event,Facet,FacetType,IdentifiableElement,IsParentOf,IsRelatedTo<S,T>,IsRelatedToType,LinkedEntity,Metadata,ModelElement,PropagationConstraint,Property,PropertyDefinition,PropertyElement,PropertyType,QueryTemplate,QueryTemplateReference,Relation<S,T>,RelationElement<S,T>,RelationType<S,T>,Resource,ResourceType,SchemaMixedElement,TemplateVariable,Type
- All Known Implementing Classes:
ConsistsOfImpl,ConsistsOfTypeImpl,ContextImpl,DummyFacet,DummyIsRelatedTo,DummyResource,ElementImpl,EncryptedImpl,EntityElementImpl,EntityImpl,EntityTypeImpl,EventImpl,FacetImpl,FacetTypeImpl,IsParentOfImpl,IsRelatedToImpl,IsRelatedToTypeImpl,LinkedEntityImpl,MetadataImpl,PropagationConstraintImpl,PropertyDefinitionImpl,PropertyElementImpl,PropertyImpl,PropertyTypeImpl,QueryTemplateImpl,QueryTemplateReferenceImpl,RelationElementImpl,RelationImpl,RelationTypeImpl,ResourceImpl,ResourceTypeImpl,TemplateVariableImpl,TypeImpl
@TypeMetadata(name="Element", description="This is the base type for Element", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface Element extends Serializable
The base interface for all elements in the Information System model.This interface provides a common foundation for various types of elements, ensuring they are serializable and can be identified by type during JSON processing. It defines constants for type identification and date-time formatting.
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
IdentifiableElement,SchemaMixedElement
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATETIME_PATTERNThe standard date-time pattern used for serializing and deserializing dates across all elements.static StringNAMEThe name of the element type.static StringTYPE_PROPERTYThe name of the property used to store the type of the element during JSON serialization.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTypeName()Returns the name of the element's type.
-
-
-
Field Detail
-
NAME
static final String NAME
The name of the element type.- See Also:
- Constant Field Values
-
TYPE_PROPERTY
static final String TYPE_PROPERTY
The name of the property used to store the type of the element during JSON serialization.- See Also:
- Constant Field Values
-
DATETIME_PATTERN
static final String DATETIME_PATTERN
The standard date-time pattern used for serializing and deserializing dates across all elements. The pattern is "yyyy-MM-dd HH:mm:ss.SSS Z".- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeName
String getTypeName()
Returns the name of the element's type. This is typically used for type identification in serialized forms.- Returns:
- The type name of the element.
-
-