Class ClassificationRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.ClassificationRequestBody

public class ClassificationRequestBody extends Object
ClassificationRequestBody describes the request body used when classifying/reclassifying elements.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    Return the date/time to use for the query.
    org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties
    Return the properties used to correlate the external metadata element with the open metadata element.
    org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
    Return the properties for the classification.
    int
    Return hash code for this object
    void
    setEffectiveTime(Date effectiveTime)
    Set up the date/time to use for the query.
    void
    setMetadataCorrelationProperties(org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties metadataCorrelationProperties)
    Set up the properties used to correlate the external metadata element with the open metadata element.
    void
    setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties properties)
    Set up the properties for the classification.
    JSON-style toString

    Methods inherited from class java.lang.Object

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

    • ClassificationRequestBody

      public ClassificationRequestBody()
      Default constructor
    • ClassificationRequestBody

      public ClassificationRequestBody(ClassificationRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getMetadataCorrelationProperties

      public org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties getMetadataCorrelationProperties()
      Return the properties used to correlate the external metadata element with the open metadata element.
      Returns:
      properties object
    • setMetadataCorrelationProperties

      public void setMetadataCorrelationProperties(org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties metadataCorrelationProperties)
      Set up the properties used to correlate the external metadata element with the open metadata element.
      Parameters:
      metadataCorrelationProperties - properties object
    • getProperties

      public org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties getProperties()
      Return the properties for the classification.
      Returns:
      properties object
    • setProperties

      public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties properties)
      Set up the properties for the classification.
      Parameters:
      properties - properties object
    • getEffectiveTime

      public Date getEffectiveTime()
      Return the date/time to use for the query.
      Returns:
      date object
    • setEffectiveTime

      public void setEffectiveTime(Date effectiveTime)
      Set up the date/time to use for the query.
      Parameters:
      effectiveTime - date object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code