Class GovernanceClassificationBase
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceClassificationBase
- Direct Known Subclasses:
GovernanceClassificationProperties
,RetentionClassificationProperties
GovernanceClassificationBase defines the common properties for the governance action classifications.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.int
Return the level of confidence in the classification (0=none to 100=excellent).getNotes()
Return additional information relating to this classification.Return the source of this classification.int
Return the status of this classification.Return the identifier for the person responsible for maintaining this classification.Return the name of the property used to identify the steward.Return the type name of the element used to describe the steward.int
hashCode()
Return code value representing the contents of this object.void
setConfidence
(int confidence) Set up the level of confidence in the classification (0=none to 100=excellent).void
Set up additional information relating to this classification.void
Set up the source of this classification.void
setStatus
(int status) Set up the status of the classification.void
setSteward
(String steward) Set up the identifier for the person responsible for maintaining this classification.void
setStewardPropertyName
(String stewardPropertyName) Set up the name of the property used to identify the steward.void
setStewardTypeName
(String stewardTypeName) Set up the type name of the element used to describe the steward.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
GovernanceClassificationBase
public GovernanceClassificationBase()Default constructor -
GovernanceClassificationBase
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getStatus
public int getStatus()Return the status of this classification.- Returns:
- enum
-
setStatus
public void setStatus(int status) Set up the status of the classification.- Parameters:
status
- enum
-
getConfidence
public int getConfidence()Return the level of confidence in the classification (0=none to 100=excellent).- Returns:
- int
-
setConfidence
public void setConfidence(int confidence) Set up the level of confidence in the classification (0=none to 100=excellent).- Parameters:
confidence
- int
-
getSteward
Return the identifier for the person responsible for maintaining this classification.- Returns:
- string user identifier
-
setSteward
Set up the identifier for the person responsible for maintaining this classification.- Parameters:
steward
- string user identifier
-
getStewardTypeName
Return the type name of the element used to describe the steward.- Returns:
- name
-
setStewardTypeName
Set up the type name of the element used to describe the steward.- Parameters:
stewardTypeName
- name
-
getStewardPropertyName
Return the name of the property used to identify the steward.- Returns:
- name
-
setStewardPropertyName
Set up the name of the property used to identify the steward.- Parameters:
stewardPropertyName
- name
-
getSource
Return the source of this classification.- Returns:
- string identifier
-
setSource
Set up the source of this classification.- Parameters:
source
- string identifier
-
getNotes
Return additional information relating to this classification.- Returns:
- text from the steward(s)
-
setNotes
Set up additional information relating to this classification.- Parameters:
notes
- text from the steward(s)
-
toString
Standard toString method.- Overrides:
toString
in classClassificationProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return code value representing the contents of this object.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-