All Implemented Interfaces:
Serializable, Element, PropertyElement, SchemaMixedElement, ModelElement, Metadata, Property

public final class MetadataImpl extends PropertyImpl implements Metadata
The default implementation of the Metadata interface.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Details

    • createdBy

      protected String createdBy
      The user who created the element.
    • creationTime

      protected Date creationTime
      The time the element was created.
    • lastUpdateBy

      protected String lastUpdateBy
      The user who last updated the element.
    • lastUpdateTime

      protected Date lastUpdateTime
      The time the element was last updated.
  • Constructor Details

    • MetadataImpl

      public MetadataImpl()
      Default constructor.
  • Method Details

    • getCreatedBy

      public String getCreatedBy()
      Returns the user who created the element.
      Specified by:
      getCreatedBy in interface Metadata
      Returns:
      The creator's identifier.
    • getCreationTime

      public Date getCreationTime()
      Returns the time when the element was created.
      Specified by:
      getCreationTime in interface Metadata
      Returns:
      The creation date and time.
    • getLastUpdateBy

      public String getLastUpdateBy()
      Returns the user who last updated the element.
      Specified by:
      getLastUpdateBy in interface Metadata
      Returns:
      The last updater's identifier.
    • getLastUpdateTime

      public Date getLastUpdateTime()
      Returns the time when the element was last updated.
      Specified by:
      getLastUpdateTime in interface Metadata
      Returns:
      The last update date and time.