Class AssetAuditHeader
- java.lang.Object
-
- org.odpi.openmetadata.metadatasecurity.properties.AssetAuditHeader
-
- All Implemented Interfaces:
Serializable
public class AssetAuditHeader extends Object implements Serializable
AssetAuditHeader provides details of the audit header for a specific asset- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetAuditHeader()Default constructorAssetAuditHeader(AssetAuditHeader template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCreatedBy()Return the name of the user that created this instance.DategetCreateTime()Return the date/time that this instance was created.List<String>getMaintainedBy()Return the list of users responsible for maintaining this instance.StringgetUpdatedBy()Return the name of the user that last updated this instance.DategetUpdateTime()Return what was the late time this instance was updated.longgetVersion()Return the version number for this instance.inthashCode()Return has code based on properties.voidsetCreatedBy(String createdBy)Set up the name of the user that created this instance.voidsetCreateTime(Date createTime)Set up the time that this instance was created.voidsetMaintainedBy(List<String> maintainedBy)Set up the list of users responsible for maintaining this instance.voidsetUpdatedBy(String updatedBy)Set up the name of the user that last updated this instance.voidsetUpdateTime(Date updateTime)Set up the last update time for this instance.voidsetVersion(long version)Set up the version number for this instance.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
AssetAuditHeader
public AssetAuditHeader()
Default constructor
-
AssetAuditHeader
public AssetAuditHeader(AssetAuditHeader template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-