Class AssetAuditHeader

java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.AssetAuditHeader

public class AssetAuditHeader extends Object
AssetAuditHeader provides details of the audit header for a specific asset
  • Constructor Details

    • AssetAuditHeader

      public AssetAuditHeader()
      Default constructor
    • AssetAuditHeader

      public AssetAuditHeader(AssetAuditHeader template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getCreatedBy

      public String getCreatedBy()
      Return the name of the user that created this instance.
      Returns:
      String user name
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Set up the name of the user that created this instance.
      Parameters:
      createdBy - String user name
    • getUpdatedBy

      public String getUpdatedBy()
      Return the name of the user that last updated this instance.
      Returns:
      String user name
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
      Set up the name of the user that last updated this instance.
      Parameters:
      updatedBy - String user name
    • getMaintainedBy

      public List<String> getMaintainedBy()
      Return the list of users responsible for maintaining this instance.
      Returns:
      list of user identifiers
    • setMaintainedBy

      public void setMaintainedBy(List<String> maintainedBy)
      Set up the list of users responsible for maintaining this instance.
      Parameters:
      maintainedBy - list of user identifiers
    • getCreateTime

      public Date getCreateTime()
      Return the date/time that this instance was created.
      Returns:
      Date/Time of creation
    • setCreateTime

      public void setCreateTime(Date createTime)
      Set up the time that this instance was created.
      Parameters:
      createTime - Date/Time of creation
    • getUpdateTime

      public Date getUpdateTime()
      Return what was the late time this instance was updated.
      Returns:
      Date/Time last updated
    • setUpdateTime

      public void setUpdateTime(Date updateTime)
      Set up the last update time for this instance.
      Parameters:
      updateTime - Date/Time last updated
    • getVersion

      public long getVersion()
      Return the version number for this instance.
      Returns:
      Long version number
    • setVersion

      public void setVersion(long version)
      Set up the version number for this instance.
      Parameters:
      version - Long version number
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int