Class Classification

  • All Implemented Interfaces:
    java.io.Serializable

    public class Classification
    extends DataPrivacyElementHeader
    The Classification bean defines a single classification for an asset. This can be used for REST calls and other JSON based functions.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getClassificationName()
      Return the name of the classification
      java.util.Map<java.lang.String,​java.lang.Object> getClassificationProperties()
      Return a collection of the additional stored properties for the classification.
      int hashCode()
      Create a hash code for this element type.
      void setClassificationName​(java.lang.String classificationName)
      Set up the name of the classification
      void setClassificationProperties​(java.util.Map<java.lang.String,​java.lang.Object> classificationProperties)
      Set up a collection of the additional stored properties for the classification.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Classification

        public Classification()
        Default constructor
      • Classification

        public Classification​(Classification templateClassification)
        Copy/clone constructor
        Parameters:
        templateClassification - template to copy
    • Method Detail

      • setClassificationName

        public void setClassificationName​(java.lang.String classificationName)
        Set up the name of the classification
        Parameters:
        classificationName - name of classification
      • getClassificationName

        public java.lang.String getClassificationName()
        Return the name of the classification
        Returns:
        String name
      • setClassificationProperties

        public void setClassificationProperties​(java.util.Map<java.lang.String,​java.lang.Object> classificationProperties)
        Set up a collection of the additional stored properties for the classification. If no stored properties are present then null is returned.
        Parameters:
        classificationProperties - properties for the classification
      • getClassificationProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getClassificationProperties()
        Return a collection of the additional stored properties for the classification. If no stored properties are present then null is returned.
        Returns:
        properties map
      • toString

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