Class ElementClassificationHeader

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AttachedClassification, ElementClassification, GovernanceClassificationBase, LatestChange, SecurityTags

public class ElementClassificationHeader extends ElementControlHeader
The ElementClassificationHeader bean describes the header for a classification associated with an element. The ElementClassification is a generic classification. Then classes such as SecurityTags are specifically featured classifications.
See Also:
  • Constructor Details

    • ElementClassificationHeader

      public ElementClassificationHeader()
      Default constructor
    • ElementClassificationHeader

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

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

    • getClassificationOrigin

      public ClassificationOrigin getClassificationOrigin()
      Return whether the classification was added explicitly to this asset or propagated from another entity.
      Returns:
      classification origin enum
    • setClassificationOrigin

      public void setClassificationOrigin(ClassificationOrigin classificationOrigin)
      Set up the setting for classification origin
      Parameters:
      classificationOrigin - enum
    • getClassificationOriginGUID

      public String getClassificationOriginGUID()
      Return the entity guid that the classification was propagated from (or null if not propagated).
      Returns:
      string guid
    • setClassificationOriginGUID

      public void setClassificationOriginGUID(String classificationOriginGUID)
      Set up the origin of the classification.
      Parameters:
      classificationOriginGUID - string guid
    • toString

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