Class AttachedClassification

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
org.odpi.openmetadata.frameworks.governanceaction.properties.AttachedClassification
All Implemented Interfaces:
Serializable

public class AttachedClassification extends org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
The AttachedClassification bean describes a single classification associated with an element.
See Also:
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    CURRENT_AUDIT_HEADER_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the name of the classification
    Return a collection of the additional stored properties for the classification.
    Return the date/time that this instance should start to be used (null means it can be used from creationTime).
    Return the date/time that this instance should no longer be used.
    int
    Create a hash code for this element type.
    void
    setClassificationName(String classificationName)
    Set up the name of the classification.
    void
    Set up a collection of the additional stored properties for the classification.
    void
    setEffectiveFromTime(Date effectiveFromTime)
    Set up the date/time that this instance should start to be used (null means it can be used from creationTime).
    void
    setEffectiveToTime(Date effectiveToTime)
    Set up the date/time that this instance should no longer be used.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader

    getClassificationOrigin, getClassificationOriginGUID, setClassificationOrigin, setClassificationOriginGUID

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader

    getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase

    getHeaderVersion, setHeaderVersion

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AttachedClassification

      public AttachedClassification()
      Default constructor
    • AttachedClassification

      public AttachedClassification(AttachedClassification 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
    • getEffectiveFromTime

      public Date getEffectiveFromTime()
      Return the date/time that this instance should start to be used (null means it can be used from creationTime).
      Returns:
      Date object
    • setEffectiveFromTime

      public void setEffectiveFromTime(Date effectiveFromTime)
      Set up the date/time that this instance should start to be used (null means it can be used from creationTime).
      Parameters:
      effectiveFromTime - Date object
    • getEffectiveToTime

      public Date getEffectiveToTime()
      Return the date/time that this instance should no longer be used.
      Returns:
      Date object
    • setEffectiveToTime

      public void setEffectiveToTime(Date effectiveToTime)
      Set up the date/time that this instance should no longer be used.
      Parameters:
      effectiveToTime - Date object
    • setClassificationProperties

      public void setClassificationProperties(ElementProperties 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 ElementProperties 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 org.odpi.openmetadata.frameworks.connectors.properties.beans.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 org.odpi.openmetadata.frameworks.connectors.properties.beans.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 org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassificationHeader
      Returns:
      int hash code