Interface Header
-
- All Superinterfaces:
Element,Property,PropertyElement,SchemaMixedElement,Serializable
- All Known Implementing Classes:
HeaderImpl
@TypeMetadata(name="Header", description="This class provides metadata per every IdentifiableElement", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface Header extends Property
https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Header- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static String__CONTEXTSUsed when requested to include contexts in header.static StringCREATED_BY_PROPERTYstatic StringCREATION_TIME_PROPERTYstatic StringLAST_UPDATE_BY_PROPERTYstatic StringLAST_UPDATE_TIME_PROPERTYstatic StringNAMEstatic StringUNKNOWN_USERUsed to set Creator when the user is not knownstatic StringUUID_PROPERTY-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
CLASS_PROPERTY, DATETIME_PATTERN, SUPERCLASSES_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreatedBy()DategetCreationTime()StringgetLastUpdateBy()DategetLastUpdateTime()UUIDgetUUID()voidsetUUID(UUID uuid)-
Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
UNKNOWN_USER
static final String UNKNOWN_USER
Used to set Creator when the user is not known- See Also:
- Constant Field Values
-
UUID_PROPERTY
static final String UUID_PROPERTY
- See Also:
- Constant Field Values
-
CREATED_BY_PROPERTY
static final String CREATED_BY_PROPERTY
- See Also:
- Constant Field Values
-
CREATION_TIME_PROPERTY
static final String CREATION_TIME_PROPERTY
- See Also:
- Constant Field Values
-
LAST_UPDATE_BY_PROPERTY
static final String LAST_UPDATE_BY_PROPERTY
- See Also:
- Constant Field Values
-
LAST_UPDATE_TIME_PROPERTY
static final String LAST_UPDATE_TIME_PROPERTY
- See Also:
- Constant Field Values
-
__CONTEXTS
static final String __CONTEXTS
Used when requested to include contexts in header. This is not a native property (it is just generated by server for administration clients convenience)- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
@ISProperty(name="uuid", description="This UUID is be used to identify the Entity or the Relation univocally.", readonly=true, mandatory=true, nullable=false) UUID getUUID()
-
setUUID
void setUUID(UUID uuid)
-
getCreatedBy
@ISProperty(name="createdBy", description="The user that created the Entity or the Relation. It is initialized at creation time. ", readonly=true, mandatory=true, nullable=false) String getCreatedBy()
-
getCreationTime
@ISProperty(name="creationTime", description="Creation time. It represents the difference, measured in milliseconds, between the creation time and midnight, January 1, 1970, UTC.", readonly=true, mandatory=true, nullable=false) Date getCreationTime()
-
getLastUpdateBy
@ISProperty(name="lastUpdateBy", description="The user that made the last update to the Entity or the Relation. At creation time, it assumes the same value of creator.", mandatory=true, nullable=false) String getLastUpdateBy()
-
getLastUpdateTime
@ISProperty(name="lastUpdateTime", description="Last Update time. At creation time it assumes the same value of creationTime. It represents the difference, measured in milliseconds, between the creation time and midnight, January 1, 1970, UTC.", mandatory=true, nullable=false) Date getLastUpdateTime()
-
-