Class NewClassificationRequestBody


public class NewClassificationRequestBody extends MetadataSourceRequestBody
NewClassificationRequestBody describes the request body used when attaching classification to elements.
  • Constructor Details

    • NewClassificationRequestBody

      public NewClassificationRequestBody()
      Default constructor
    • NewClassificationRequestBody

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

    • getProperties

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

      public void setProperties(ClassificationProperties properties)
      Set up the properties for the classification.
      Parameters:
      properties - properties object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class MetadataSourceRequestBody
      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 MetadataSourceOptions
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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