Class NewOpenMetadataClassificationRequestBody


public class NewOpenMetadataClassificationRequestBody extends MetadataSourceOptions
NewOpenMetadataClassificationRequestBody provides a structure for passing the properties for a new classification for a metadata element.
  • Constructor Details

    • NewOpenMetadataClassificationRequestBody

      public NewOpenMetadataClassificationRequestBody()
      Default constructor
    • NewOpenMetadataClassificationRequestBody

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

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

    • getProperties

      public NewElementProperties getProperties()
      Return the properties for the new classification.
      Returns:
      list of properties
    • setProperties

      public void setProperties(NewElementProperties properties)
      Set up the properties for the new classification.
      Parameters:
      properties - list of properties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class MetadataSourceOptions
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class MetadataSourceOptions
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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