Interface Element
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ConsistsOf<S,,T> ConsistsOfSchema,Context,Encrypted,Entity,EntityElement,EntitySchema,ERElement,Event,Facet,FacetSchema,IdentifiableElement,IsRelatedTo<S,,T> IsRelatedToSchema,LinkedEntity,Metadata,ModelElement,PropagationConstraint,Property,PropertyDefinition,PropertyElement,PropertySchema,QueryTemplate,QueryTemplateReference,Relation<S,,T> RelationElement<S,,T> RelationSchema<S,,T> Resource,ResourceSchema,SchemaMixedElement,TemplateVariable,Type,TypeProjection
- All Known Implementing Classes:
ConsistsOfImpl,ConsistsOfSchemaImpl,ContextImpl,DummyFacet,DummyIsRelatedTo,DummyResource,ElementImpl,EncryptedImpl,EntityElementImpl,EntityImpl,EntitySchemaImpl,EventImpl,FacetImpl,FacetSchemaImpl,IsRelatedToImpl,IsRelatedToSchemaImpl,LinkedEntityImpl,MetadataImpl,PropagationConstraintImpl,PropertyDefinitionImpl,PropertyElementImpl,PropertyImpl,PropertySchemaImpl,QueryTemplateImpl,QueryTemplateReferenceImpl,RelationElementImpl,RelationImpl,RelationSchemaImpl,ResourceImpl,ResourceSchemaImpl,TemplateVariableImpl,TypeImpl,TypeProjectionImpl
@TypeMetadata(name="Element",
description="The base type for all elements in the Information System model; provides a common foundation for serialization and type identification during JSON processing.",
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe standard date-time pattern used for serializing and deserializing dates across all elements.static final StringThe name of the element type.static final StringThe standard placeholder string used to mask sensitive fields in responses for non-privileged users.static final StringThe name of the property used to store the type of the element during JSON serialization.static final StringThe standard placeholder string used for an unresolvable or unknown user. -
Method Summary
-
Field Details
-
NAME
The name of the element type.- See Also:
-
TYPE_PROPERTY
The name of the property used to store the type of the element during JSON serialization.- See Also:
-
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:
-
REDACTED
The standard placeholder string used to mask sensitive fields in responses for non-privileged users.- See Also:
-
UNKNOWN_USER
The standard placeholder string used for an unresolvable or unknown user.- See Also:
-
-
Method Details
-
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.
-