Class AssetAuditHeader

  • All Implemented Interfaces:
    java.io.Serializable

    public class AssetAuditHeader
    extends java.lang.Object
    implements java.io.Serializable
    AssetAuditHeader provides details of the audit header for a specific asset
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getCreatedBy()
      Return the name of the user that created this instance.
      java.util.Date getCreateTime()
      Return the date/time that this instance was created.
      java.util.List<java.lang.String> getMaintainedBy()
      Return the list of users responsible for maintaining this instance.
      java.lang.String getUpdatedBy()
      Return the name of the user that last updated this instance.
      java.util.Date getUpdateTime()
      Return what was the late time this instance was updated.
      long getVersion()
      Return the version number for this instance.
      int hashCode()
      Return hash code based on properties.
      void setCreatedBy​(java.lang.String createdBy)
      Set up the name of the user that created this instance.
      void setCreateTime​(java.util.Date createTime)
      Set up the time that this instance was created.
      void setMaintainedBy​(java.util.List<java.lang.String> maintainedBy)
      Set up the list of users responsible for maintaining this instance.
      void setUpdatedBy​(java.lang.String updatedBy)
      Set up the name of the user that last updated this instance.
      void setUpdateTime​(java.util.Date updateTime)
      Set up the last update time for this instance.
      void setVersion​(long version)
      Set up the version number for this instance.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AssetAuditHeader

        public AssetAuditHeader()
        Default constructor
      • AssetAuditHeader

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

      • getCreatedBy

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

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

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

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

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

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

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

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

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

        public void setUpdateTime​(java.util.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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

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

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