Class FilterRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody

public class FilterRequestBody extends EffectiveTimeRequestBody
StringRequestBody is the request body structure used on OMAG REST API calls that passed a string.
  • Constructor Details

    • FilterRequestBody

      public FilterRequestBody()
      Default constructor
    • FilterRequestBody

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

    • getFilter

      public String getFilter()
      Return the boolean result.
      Returns:
      string
    • setFilter

      public void setFilter(String filter)
      Set up the boolean result.
      Parameters:
      filter - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class EffectiveTimeRequestBody
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class EffectiveTimeRequestBody
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class EffectiveTimeRequestBody
      Returns:
      int hash code