Interface Metadata
-
- All Superinterfaces:
Element,ModelElement,Property,PropertyElement,SchemaMixedElement,Serializable
- All Known Implementing Classes:
MetadataImpl
@TypeMetadata(name="Metadata", description="This type provides metadata per every IdentifiableElement", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface Metadata extends Property
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATED_BY_PROPERTYstatic StringCREATION_TIME_PROPERTYstatic StringHIDDEN_FOR_PRIVACY_USERstatic StringLAST_UPDATE_BY_PROPERTYstatic StringLAST_UPDATE_TIME_PROPERTYstatic StringNAMEstatic StringUNKNOWN_USERUsed to set Creator when the user is not known-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreatedBy()DategetCreationTime()StringgetLastUpdateBy()DategetLastUpdateTime()-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
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
-
HIDDEN_FOR_PRIVACY_USER
static final String HIDDEN_FOR_PRIVACY_USER
- 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
-
-
Method Detail
-
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 is represented in the format yyyy-MM-dd HH:mm:ss.SSS Z.", 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 createdBy.", 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 is represented in the format yyyy-MM-dd HH:mm:ss.SSS Z", mandatory=true, nullable=false) Date getLastUpdateTime()
-
-