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
public class GovernanceClassificationBase
extends org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intReturn the level of confidence in the classification (0=none to 100=excellent).intReturn the status of this classification.intReturn 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.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).voidsetGovernanceStatus(int governanceStatus) Set up the status of the classification.voidsetLevelIdentifier(int levelIdentifier) Set up the unique identifier that defines the level of the classification that is applied.voidSet up additional information relating to this classification.voidSet up the source of this classification.voidsetSteward(String steward) Set up the identifier for the person responsible for maintaining this classification.voidsetStewardPropertyName(String stewardPropertyName) Set up the name of the property identifying the steward.voidsetStewardTypeName(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, setClassificationOriginGUIDMethods 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:
toStringin classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- 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:
equalsin classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return code value representing the contents of this object.- Overrides:
hashCodein classorg.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader- Returns:
- int
-