Class RetentionGovernanceClassification
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernanceClassificationBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.RetentionGovernanceClassification
-
- All Implemented Interfaces:
Serializable
public class RetentionGovernanceClassification extends GovernanceClassificationBase
RetentionGovernanceClassification defines the retention requirements for related data items.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description RetentionGovernanceClassification()Default constructorRetentionGovernanceClassification(RetentionGovernanceClassification 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.DategetArchiveAfter()Return the date that this asset will be archived.StringgetAssociatedGUID()Return the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates.DategetDeleteAfter()Return the date that this asset will be permanently deleted.inthashCode()Return code value representing the contents of this object.voidsetArchiveAfter(Date archiveAfter)Set up the date that this asset will be archived.voidsetAssociatedGUID(String associatedGUID)Set up the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates.voidsetDeleteAfter(Date deleteAfter)Set up the date that this asset will be permanently deleted.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernanceClassificationBase
getConfidence, getGovernanceStatus, getLevelIdentifier, getNotes, getSource, getSteward, getStewardPropertyName, getStewardTypeName, setConfidence, setGovernanceStatus, setLevelIdentifier, setNotes, setSource, setSteward, setStewardPropertyName, setStewardTypeName
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
RetentionGovernanceClassification
public RetentionGovernanceClassification()
Default constructor
-
RetentionGovernanceClassification
public RetentionGovernanceClassification(RetentionGovernanceClassification template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getAssociatedGUID
public String getAssociatedGUID()
Return the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates. For example if the retention basis is determined by the project lifetime, this identifier is the identifier of the associated project.- Returns:
- string guid
-
setAssociatedGUID
public void setAssociatedGUID(String associatedGUID)
Set up the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates. For example if the retention basis is determined by the project lifetime, this identifier is the identifier of the associated project.- Parameters:
associatedGUID- string guid
-
getArchiveAfter
public Date getArchiveAfter()
Return the date that this asset will be archived.- Returns:
- date/timestamp
-
setArchiveAfter
public void setArchiveAfter(Date archiveAfter)
Set up the date that this asset will be archived.- Parameters:
archiveAfter- date/timestamp
-
getDeleteAfter
public Date getDeleteAfter()
Return the date that this asset will be permanently deleted.- Returns:
- date/timestamp
-
setDeleteAfter
public void setDeleteAfter(Date deleteAfter)
Set up the date that this asset will be permanently deleted.- Parameters:
deleteAfter- date/timestamp
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classGovernanceClassificationBase- 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:
equalsin classGovernanceClassificationBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return code value representing the contents of this object.- Overrides:
hashCodein classGovernanceClassificationBase- Returns:
- int
-
-