Class Retention
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Retention
-
- All Implemented Interfaces:
Serializable,OmasObject
public class Retention extends Classification
Defines the retention requirements for related data items.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
classificationName, serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description Retention()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAdditionalProperties()Get the extra attributes - ones that are in addition to the standard types.LonggetArchiveAfter()Related entity used to determine the retention period.StringgetAssociatedGUID()Related entity used to determine the retention period.RetentionBasisgetBasis()Basis on which the retention period is defined.IntegergetConfidence()Level of confidence in the classification (0=none -> 100=excellent).LonggetDeleteAfter()Related entity used to determine the retention period.StringgetNotes()Information relating to the classification.static Set<String>getPropertyNames()Retention property namesStringgetSource()Source of the classification.GovernanceClassificationStatusgetStatus()Status of this classification.StringgetSteward()Person responsible for maintaining this classification.voidsetAdditionalProperties(Map<String,String> additionalProperties)voidsetArchiveAfter(Long archiveAfter)voidsetAssociatedGUID(String associatedGUID)voidsetBasis(RetentionBasis basis)voidsetConfidence(Integer confidence)voidsetDeleteAfter(Long deleteAfter)voidsetNotes(String notes)voidsetSource(String source)voidsetStatus(GovernanceClassificationStatus status)voidsetSteward(String steward)-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.classifications.Classification
getClassificationName, getEffectiveFromTime, getEffectiveToTime, getSystemAttributes, setEffectiveFromTime, setEffectiveToTime, setSystemAttributes
-
-
-
-
Method Detail
-
getStatus
public GovernanceClassificationStatus getStatus()
Status of this classification.- Returns:
- Status of this classification.
-
setStatus
public void setStatus(GovernanceClassificationStatus status)
-
getConfidence
public Integer getConfidence()
Level of confidence in the classification (0=none -> 100=excellent).- Returns:
- Level of confidence
-
setConfidence
public void setConfidence(Integer confidence)
-
getSteward
public String getSteward()
Person responsible for maintaining this classification.- Returns:
- Person responsible for maintaining this classification.
-
setSteward
public void setSteward(String steward)
-
getSource
public String getSource()
Source of the classification.- Returns:
- Source of the classification.
-
setSource
public void setSource(String source)
-
getNotes
public String getNotes()
Information relating to the classification.- Returns:
- Information relating to the classification.
-
setNotes
public void setNotes(String notes)
-
getPropertyNames
public static Set<String> getPropertyNames()
Retention property names- Returns:
- Set of Strings of the Retention property names
-
getBasis
public RetentionBasis getBasis()
Basis on which the retention period is defined.- Returns:
- Basis on which the retention period is defined.
-
setBasis
public void setBasis(RetentionBasis basis)
-
getAssociatedGUID
public String getAssociatedGUID()
Related entity used to determine the retention period.- Returns:
- Related entity used to determine the retention period.
-
setAssociatedGUID
public void setAssociatedGUID(String associatedGUID)
-
getArchiveAfter
public Long getArchiveAfter()
Related entity used to determine the retention period.- Returns:
- Related entity used to determine the retention period.
-
setArchiveAfter
public void setArchiveAfter(Long archiveAfter)
-
getDeleteAfter
public Long getDeleteAfter()
Related entity used to determine the retention period.- Returns:
- Related entity used to determine the retention period.
-
setDeleteAfter
public void setDeleteAfter(Long deleteAfter)
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Get the extra attributes - ones that are in addition to the standard types.- Overrides:
getAdditionalPropertiesin classClassification- Returns:
- extra attributes
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
- Overrides:
setAdditionalPropertiesin classClassification
-
-