Class ClassificationAnnotation


public class ClassificationAnnotation extends DataFieldAnnotation
ClassificationAnnotation recommends classifications for either an asset or a data field.
  • Constructor Details

    • ClassificationAnnotation

      public ClassificationAnnotation()
      Default constructor
    • ClassificationAnnotation

      public ClassificationAnnotation(ClassificationAnnotation template)
      Copy clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getCandidateClassifications

      public Map<String,String> getCandidateClassifications()
      Return a map of candidate classification names to additional characteristics
      Returns:
      map of classification names to string
    • setCandidateClassifications

      public void setCandidateClassifications(Map<String,String> candidateClassifications)
      Set up a map of candidate classification names to additional characteristics.
      Parameters:
      candidateClassifications - map of classification names to string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class DataFieldAnnotation
      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 Annotation
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Annotation
      Returns:
      int hash code