Class ClassificationAnnotation

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClassificationAnnotation
    extends DataFieldAnnotation
    ClassificationAnnotation recommends classifications for either an asset or a data field.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClassificationAnnotation

        public ClassificationAnnotation()
        Default constructor
      • ClassificationAnnotation

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

      • getCandidateClassifications

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

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

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class DataFieldAnnotation
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.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