Class CriticalityGovernanceClassification
- java.lang.Object
-
- org.odpi.openmetadata.metadatasecurity.properties.GovernanceClassificationBase
-
- org.odpi.openmetadata.metadatasecurity.properties.CriticalityGovernanceClassification
-
- All Implemented Interfaces:
Serializable
public class CriticalityGovernanceClassification extends GovernanceClassificationBase
CriticalityGovernanceClassification defines how critical the related data items are to the organization.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CriticalityGovernanceClassification()Default constructorCriticalityGovernanceClassification(CriticalityGovernanceClassification 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.intgetCriticalityLevel()Return the definition of how critical this data item is to the organization.inthashCode()Return code value representing the contents of this object.voidsetCriticalityLevel(int criticalityLevel)Set up the definition of how critical this data item is to the organization.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.metadatasecurity.properties.GovernanceClassificationBase
getConfidence, getNotes, getSource, getStatus, getSteward, setConfidence, setNotes, setSource, setStatus, setSteward
-
-
-
-
Constructor Detail
-
CriticalityGovernanceClassification
public CriticalityGovernanceClassification()
Default constructor
-
CriticalityGovernanceClassification
public CriticalityGovernanceClassification(CriticalityGovernanceClassification template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getCriticalityLevel
public int getCriticalityLevel()
Return the definition of how critical this data item is to the organization.- Returns:
- enum
-
setCriticalityLevel
public void setCriticalityLevel(int criticalityLevel)
Set up the definition of how critical this data item is to the organization.- Parameters:
criticalityLevel- int
-
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
-
-