Class GovernanceClassificationBase

    • Constructor Detail

      • GovernanceClassificationBase

        public GovernanceClassificationBase()
        Default constructor
      • GovernanceClassificationBase

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

      • 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
      • 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