Class GovernanceClassificationBase
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernanceClassificationBase
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfidenceGovernanceClassification,ConfidentialityGovernanceClassification,CriticalityGovernanceClassification,RetentionGovernanceClassification
public class GovernanceClassificationBase extends ElementClassificationHeader
GovernanceClassificationBase defines the common properties for the governance action classifications- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
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).intgetGovernanceStatus()Return the status of this classification.intgetLevelIdentifier()Return the unique identifier that defines the level of the classification that is applied.StringgetNotes()Return additional information relating to this classification.StringgetSource()Return the source of this classification.StringgetSteward()Return the identifier for the person responsible for maintaining this classification.StringgetStewardPropertyName()Return the name of the property identifying the steward.StringgetStewardTypeName()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.voidsetNotes(String notes)Set up additional information relating to this classification.voidsetSource(String source)Set 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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
GovernanceClassificationBase
public GovernanceClassificationBase()
Default constructor
-
GovernanceClassificationBase
public GovernanceClassificationBase(GovernanceClassificationBase template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
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
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
-
getStewardTypeName
public String getStewardTypeName()
Return the type name of the element representing the steward.- Returns:
- string name
-
setStewardTypeName
public void setStewardTypeName(String stewardTypeName)
Set up the type name of the element representing the steward.- Parameters:
stewardTypeName- string name
-
getStewardPropertyName
public String getStewardPropertyName()
Return the name of the property identifying the steward.- Returns:
- string name
-
setStewardPropertyName
public void setStewardPropertyName(String stewardPropertyName)
Set up the name of the property identifying the steward.- Parameters:
stewardPropertyName- string name
-
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)
-
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
public String toString()
Standard toString method.- Overrides:
toStringin classElementClassificationHeader- 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 classElementClassificationHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return code value representing the contents of this object.- Overrides:
hashCodein classElementClassificationHeader- Returns:
- int
-
-