Class AssetAuditHeader
java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.AssetAuditHeader
AssetAuditHeader provides details of the audit header for a specific asset
-
Constructor Summary
ConstructorDescriptionDefault constructorAssetAuditHeader
(AssetAuditHeader template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the name of the user that created this instance.Return the date/time that this instance was created.Return the list of users responsible for maintaining this instance.Return the name of the user that last updated this instance.Return what was the late time this instance was updated.long
Return the version number for this instance.int
hashCode()
Return hash code based on properties.void
setCreatedBy
(String createdBy) Set up the name of the user that created this instance.void
setCreateTime
(Date createTime) Set up the time that this instance was created.void
setMaintainedBy
(List<String> maintainedBy) Set up the list of users responsible for maintaining this instance.void
setUpdatedBy
(String updatedBy) Set up the name of the user that last updated this instance.void
setUpdateTime
(Date updateTime) Set up the last update time for this instance.void
setVersion
(long version) Set up the version number for this instance.toString()
Standard toString method.
-
Constructor Details
-
AssetAuditHeader
public AssetAuditHeader()Default constructor -
AssetAuditHeader
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getCreatedBy
Return the name of the user that created this instance.- Returns:
- String user name
-
setCreatedBy
Set up the name of the user that created this instance.- Parameters:
createdBy
- String user name
-
getUpdatedBy
Return the name of the user that last updated this instance.- Returns:
- String user name
-
setUpdatedBy
Set up the name of the user that last updated this instance.- Parameters:
updatedBy
- String user name
-
getMaintainedBy
Return the list of users responsible for maintaining this instance.- Returns:
- list of user identifiers
-
setMaintainedBy
Set up the list of users responsible for maintaining this instance.- Parameters:
maintainedBy
- list of user identifiers
-
getCreateTime
Return the date/time that this instance was created.- Returns:
- Date/Time of creation
-
setCreateTime
Set up the time that this instance was created.- Parameters:
createTime
- Date/Time of creation
-
getUpdateTime
Return what was the late time this instance was updated.- Returns:
- Date/Time last updated
-
setUpdateTime
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
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-