Class GovernanceClassificationBase

Direct Known Subclasses:
ConfidenceGovernanceClassification, ConfidentialityGovernanceClassification, CriticalityGovernanceClassification, RetentionGovernanceClassification

public class GovernanceClassificationBase extends ElementClassificationHeader
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

    • 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 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 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 ElementClassificationHeader
      Returns:
      int