Class MetadataImpl
java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
org.gcube.informationsystem.model.impl.properties.PropertyImpl
org.gcube.informationsystem.model.impl.properties.MetadataImpl
- All Implemented Interfaces:
Serializable,Element,PropertyElement,SchemaMixedElement,ModelElement,Metadata,Property
The default implementation of the
Metadata interface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe user who created the element.protected DateThe time the element was created.protected StringThe user who last updated the element.protected DateThe time the element was last updated.Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypesFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.properties.Metadata
CREATED_BY_PROPERTY, CREATION_TIME_PROPERTY, HIDDEN_FOR_PRIVACY_USER, LAST_UPDATE_BY_PROPERTY, LAST_UPDATE_TIME_PROPERTY, NAME, UNKNOWN_USERFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the user who created the element.Returns the time when the element was created.Returns the user who last updated the element.Returns the time when the element was last updated.Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
createdBy
The user who created the element. -
creationTime
The time the element was created. -
lastUpdateBy
The user who last updated the element. -
lastUpdateTime
The time the element was last updated.
-
-
Constructor Details
-
MetadataImpl
public MetadataImpl()Default constructor.
-
-
Method Details
-
getCreatedBy
Returns the user who created the element.- Specified by:
getCreatedByin interfaceMetadata- Returns:
- The creator's identifier.
-
getCreationTime
Returns the time when the element was created.- Specified by:
getCreationTimein interfaceMetadata- Returns:
- The creation date and time.
-
getLastUpdateBy
Returns the user who last updated the element.- Specified by:
getLastUpdateByin interfaceMetadata- Returns:
- The last updater's identifier.
-
getLastUpdateTime
Returns the time when the element was last updated.- Specified by:
getLastUpdateTimein interfaceMetadata- Returns:
- The last update date and time.
-