Class GovernanceClassificationBase
- java.lang.Object
-
- org.odpi.openmetadata.metadatasecurity.properties.GovernanceClassificationBase
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfidenceGovernanceClassification,ConfidentialityGovernanceClassification,CriticalityGovernanceClassification,ImpactGovernanceClassification,RetentionGovernanceClassification
public class GovernanceClassificationBase extends Object implements Serializable
GovernanceClassificationBase defines the common properties for the governance action classifications- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceClassificationBase()Default constructorGovernanceClassificationBase(GovernanceClassificationBase 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.intgetConfidence()Return the level of confidence in the classification (0=none to 100=excellent).StringgetNotes()Return additional information relating to this classification.StringgetSource()Return the source of this classification.intgetStatus()Return the status of this classification.StringgetSteward()Return the identifier for the person responsible for maintaining this classification.inthashCode()Return code value representing the contents of this object.voidsetConfidence(int confidence)Set up the level of confidence in the classification (0=none to 100=excellent).voidsetNotes(String notes)Set up additional information relating to this classification.voidsetSource(String source)Set up the source of this classification.voidsetStatus(int status)Set up the status of the classification.voidsetSteward(String steward)Set up the identifier for the person responsible for maintaining this classification.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
GovernanceClassificationBase
public GovernanceClassificationBase()
Default constructor
-
GovernanceClassificationBase
public GovernanceClassificationBase(GovernanceClassificationBase template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
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
public String getSteward()
Return the identifier for the person responsible for maintaining this classification.- Returns:
- string user identifier
-
setSteward
public void setSteward(String steward)
Set up the identifier for the person responsible for maintaining this classification.- Parameters:
steward- string user identifier
-
getSource
public String getSource()
Return the source of this classification.- Returns:
- string identifier
-
setSource
public void setSource(String source)
Set up the source of this classification.- Parameters:
source- string identifier
-
getNotes
public String getNotes()
Return additional information relating to this classification.- Returns:
- text from the steward(s)
-
setNotes
public void setNotes(String notes)
Set up additional information relating to this classification.- Parameters:
notes- text from the steward(s)
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-