Class GovernanceClassificationBase

java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.GovernanceClassificationBase
Direct Known Subclasses:
ConfidenceGovernanceClassification, ConfidentialityGovernanceClassification, CriticalityGovernanceClassification, ImpactGovernanceClassification, RetentionGovernanceClassification

public class GovernanceClassificationBase extends Object
GovernanceClassificationBase defines the common properties for the governance action classifications.
  • Constructor Details

    • GovernanceClassificationBase

      public GovernanceClassificationBase()
      Default constructor
    • GovernanceClassificationBase

      public GovernanceClassificationBase(GovernanceClassificationBase template)
      Copy/clone constructor.
      Parameters:
      template - element to copy
  • Method Details

    • getStatus

      public int getStatus()
      Return the status of this classification.
      Returns:
      enum
    • setStatus

      public void setStatus(int status)
      Set up the status of the classification.
      Parameters:
      status - 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 used to describe the steward.
      Returns:
      name
    • setStewardTypeName

      public void setStewardTypeName(String stewardTypeName)
      Set up the type name of the element used to describe the steward.
      Parameters:
      stewardTypeName - name
    • getStewardPropertyName

      public String getStewardPropertyName()
      Return the name of the property used to identify the steward.
      Returns:
      name
    • setStewardPropertyName

      public void setStewardPropertyName(String stewardPropertyName)
      Set up the name of the property used to identify the steward.
      Parameters:
      stewardPropertyName - 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)
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      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 Object
      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 Object
      Returns:
      int