Class GovernanceClassificationBase
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernanceClassificationBase
- Direct Known Subclasses:
ConfidenceGovernanceClassification
,ConfidentialityGovernanceClassification
,CriticalityGovernanceClassification
,RetentionGovernanceClassification
GovernanceClassificationBase defines the common properties for the governance action classifications
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
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).int
Return the status of this classification.int
Return the unique identifier that defines the level of the classification that is applied.getNotes()
Return additional information relating to this classification.Return the source of this classification.Return the identifier for the person responsible for maintaining this classification.Return the name of the property identifying the steward.Return the type name of the element representing 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
setGovernanceStatus
(int governanceStatus) Set up the status of the classification.void
setLevelIdentifier
(int levelIdentifier) Set up the unique identifier that defines the level of the classification that is applied.void
Set up additional information relating to this classification.void
Set up the source of this 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 identifying the steward.void
setStewardTypeName
(String stewardTypeName) Set up the type name of the element representing the steward.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
GovernanceClassificationBase
public GovernanceClassificationBase()Default constructor -
GovernanceClassificationBase
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getGovernanceStatus
public int getGovernanceStatus()Return the status of this classification.- Returns:
- status identifier
-
setGovernanceStatus
public void setGovernanceStatus(int governanceStatus) Set up the status of the classification.- Parameters:
governanceStatus
- 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 representing the steward.- Returns:
- string name
-
setStewardTypeName
Set up the type name of the element representing the steward.- Parameters:
stewardTypeName
- string name
-
getStewardPropertyName
Return the name of the property identifying the steward.- Returns:
- string name
-
setStewardPropertyName
Set up the name of the property identifying the steward.- Parameters:
stewardPropertyName
- string 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)
-
getLevelIdentifier
public int getLevelIdentifier()Return the unique identifier that defines the level of the classification that is applied. It may come from our standard enum, or be a set of values defined by the organization.- Returns:
- int
-
setLevelIdentifier
public void setLevelIdentifier(int levelIdentifier) Set up the unique identifier that defines the level of the classification that is applied. It may come from our standard enum, or be a set of values defined by the organization.- Parameters:
levelIdentifier
- int
-
toString
Standard toString method.- Overrides:
toString
in classElementClassificationHeader
- 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 classElementClassificationHeader
- 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 classElementClassificationHeader
- Returns:
- int
-