Class GovernanceClassificationBase
java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.GovernanceClassificationBase
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfidenceGovernanceClassification
,ConfidentialityGovernanceClassification
,CriticalityGovernanceClassification
,ImpactGovernanceClassification
,RetentionGovernanceClassification
GovernanceClassificationBase defines the common properties for the governance action classifications
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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.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.toString()
Standard toString method.
-
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
-
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return code value representing the contents of this object.
-