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

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    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.
    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
    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
    setSource(String source)
    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.
    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GovernanceClassificationBase

      public GovernanceClassificationBase()
      Default constructor
    • GovernanceClassificationBase

      public GovernanceClassificationBase(GovernanceClassificationBase template)
      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

      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:
      toString in class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
      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:
      equals in class org.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:
      hashCode in class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementClassificationHeader
      Returns:
      int