public abstract class InstanceAuditHeader extends InstanceElementHeader
| Modifier and Type | Field and Description |
|---|---|
static long |
CURRENT_AUDIT_HEADER_VERSION |
| Constructor and Description |
|---|
InstanceAuditHeader()
Default Constructor sets the instance to nulls.
|
InstanceAuditHeader(InstanceAuditHeader template)
Copy/clone constructor set the value to those supplied in the template.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate if the supplied object equals this object.
|
String |
getCreatedBy()
Return the name of the user that created this instance.
|
Date |
getCreateTime()
Return the date/time that this instance was created.
|
long |
getHeaderVersion()
Return the version of this header.
|
String |
getInstanceLicense()
Return the license string for this instance - null means no restrictions.
|
InstanceProvenanceType |
getInstanceProvenanceType()
Return the type of the provenance for this instance.
|
List<String> |
getMaintainedBy()
Return the list of users responsible for maintaining this instance.
|
Map<String,Serializable> |
getMappingProperties()
Return the additional properties used by the master repository to map to stored instances.
|
String |
getMetadataCollectionId()
Return the unique identifier for the metadata collection that is the home for this instance.
|
String |
getMetadataCollectionName()
Return a display name for the metadata collection that this instance belongs to.
|
String |
getReplicatedBy()
Return the metadata collection id of the cohort member responsible for replicating metadata
owned by repositories (eg data tools/engines/platforms) from outside of the
cohort or from an open metadata archive.
|
InstanceStatus |
getStatus()
Return the status of this instance.
|
InstanceStatus |
getStatusOnDelete()
Return the status to use when a deleted instance is restored.
|
InstanceType |
getType()
Return the type of this instance.
|
String |
getUpdatedBy()
Return the name of the user that last updated this instance.
|
Date |
getUpdateTime()
Return what was the late time this instance was updated.
|
long |
getVersion()
Return the version number for this instance.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
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 |
setHeaderVersion(long headerVersion)
Return the version of this header.
|
void |
setInstanceLicense(String instanceLicense)
Set up the license string for this instance - null means no restrictions.
|
void |
setInstanceProvenanceType(InstanceProvenanceType instanceProvenanceType)
Set up the type of the provenance for this instance.
|
void |
setMaintainedBy(List<String> maintainedBy)
Set up the list of users responsible for maintaining this instance.
|
void |
setMappingProperties(Map<String,Serializable> mappingProperties)
Set up the additional properties used by the master repository to map to stored instances.
|
void |
setMetadataCollectionId(String metadataCollectionId)
Set up the unique identifier for the home metadata collection for this instance.
|
void |
setMetadataCollectionName(String metadataCollectionName)
Set up a display name for the metadata collection that this instance belongs to.
|
void |
setReplicatedBy(String replicatedBy)
Set up the metadata collection id of the cohort member responsible for replicating metadata
owned by repositories (eg data tools/engines/platforms) from outside of the
cohort or from an open metadata archive.
|
void |
setStatus(InstanceStatus newStatus)
Set up the status of this instance.
|
void |
setStatusOnDelete(InstanceStatus statusOnDelete)
Set up the status to use when a deleted instance is restored.
|
void |
setType(InstanceType type)
Set up the type of 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.
|
String |
toString()
Standard toString method.
|
public static final long CURRENT_AUDIT_HEADER_VERSION
public InstanceAuditHeader()
public InstanceAuditHeader(InstanceAuditHeader template)
template - Instance headerpublic long getHeaderVersion()
public void setHeaderVersion(long headerVersion)
headerVersion - long version number - the value is incremented each time a new non-informational field is added
to the audit header.public InstanceType getType()
public void setType(InstanceType type)
type - InstanceType objectpublic InstanceProvenanceType getInstanceProvenanceType()
public void setInstanceProvenanceType(InstanceProvenanceType instanceProvenanceType)
instanceProvenanceType - InstanceProvenanceType enumpublic String getMetadataCollectionId()
public void setMetadataCollectionId(String metadataCollectionId)
metadataCollectionId - String unique identifier for the repositorypublic String getMetadataCollectionName()
public void setMetadataCollectionName(String metadataCollectionName)
metadataCollectionName - display name or nullpublic String getReplicatedBy()
public void setReplicatedBy(String replicatedBy)
replicatedBy - string metadata collection idpublic String getInstanceLicense()
public void setInstanceLicense(String instanceLicense)
instanceLicense - license string or nullpublic InstanceStatus getStatus()
public void setStatus(InstanceStatus newStatus)
newStatus - InstanceStatuspublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy - String user namepublic String getUpdatedBy()
public void setUpdatedBy(String updatedBy)
updatedBy - String user namepublic List<String> getMaintainedBy()
public void setMaintainedBy(List<String> maintainedBy)
maintainedBy - list of user identifierspublic Date getCreateTime()
public void setCreateTime(Date createTime)
createTime - Date/Time of creationpublic Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime - Date/Time last updatedpublic long getVersion()
public void setVersion(long version)
version - Long version numberpublic InstanceStatus getStatusOnDelete()
public void setStatusOnDelete(InstanceStatus statusOnDelete)
statusOnDelete - InstanceStatus Enumpublic Map<String,Serializable> getMappingProperties()
public void setMappingProperties(Map<String,Serializable> mappingProperties)
mappingProperties - property mappublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.