Class TemplateClassificationRequestBody

java.lang.Object
org.odpi.openmetadata.viewservices.templatemanager.rest.TemplateClassificationRequestBody

public class TemplateClassificationRequestBody extends Object
TemplateClassificationRequestBody carries the parameters for working with template classifications.
  • Constructor Details

    • TemplateClassificationRequestBody

      public TemplateClassificationRequestBody()
      Default constructor
    • TemplateClassificationRequestBody

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

    • getTemplateClassificationProperties

      public TemplateClassificationProperties getTemplateClassificationProperties()
      Return the properties that describe the template.
      Returns:
      properties
    • setTemplateClassificationProperties

      public void setTemplateClassificationProperties(TemplateClassificationProperties templateClassificationProperties)
      Set up the properties that describe the template.
      Parameters:
      templateClassificationProperties - properties
    • getSpecification

      public Map<String,List<Map<String,String>>> getSpecification()
      Return the specification reference data for the template.
      Returns:
      specification (attributeName, list[propertyName, propertyValue])
    • setSpecification

      public void setSpecification(Map<String,List<Map<String,String>>> specification)
      Set up the specification reference data for the template.
      Parameters:
      specification - specification
    • 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