All Implemented Interfaces:
Serializable

public class ElementClassification extends ElementClassificationHeader
The ElementClassification bean describes a single classification associated with an element.
See Also:
  • Constructor Details

    • ElementClassification

      public ElementClassification()
      Default constructor
    • ElementClassification

      public ElementClassification(ElementClassification template)
      Copy/clone constructor
      Parameters:
      template - template to copy
    • ElementClassification

      public ElementClassification(ElementClassificationHeader template)
      Copy/clone constructor
      Parameters:
      template - template to copy
  • Method Details

    • setClassificationName

      public void setClassificationName(String classificationName)
      Set up the name of the classification. This name is the type name defined in a ClassificationDef type definition.
      Parameters:
      classificationName - name of classification
    • getClassificationName

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

      public void setClassificationProperties(Map<String,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 Map<String,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 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()
      Create a hash code for this element type.
      Overrides:
      hashCode in class ElementClassificationHeader
      Returns:
      int hash code