java.lang.Object
org.odpi.openmetadata.viewservices.glossaryworkflow.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.viewservices.glossaryworkflow.rest.TemplateRequestBody
Direct Known Subclasses:
GlossaryTemplateRequestBody

public class TemplateRequestBody extends EffectiveTimeQueryRequestBody
TemplateRequestBody describes the request body used to create/update elements from templates.
  • Constructor Details

    • TemplateRequestBody

      public TemplateRequestBody()
      Default constructor
    • TemplateRequestBody

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

    • getElementProperties

      public TemplateProperties getElementProperties()
      Return the properties for the element.
      Returns:
      properties object
    • setElementProperties

      public void setElementProperties(TemplateProperties elementProperties)
      Set up the properties for the element.
      Parameters:
      elementProperties - properties object
    • getParentGUID

      public String getParentGUID()
      Return an optional parent GUID to attach the new element to.
      Returns:
      guid
    • setParentGUID

      public void setParentGUID(String parentGUID)
      Set up an optional parent GUID to attach the new element to.
      Parameters:
      parentGUID - guid
    • toString

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

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