Class FindRequestBody


public class FindRequestBody extends ResultsRequestBody
FindRequestBody provides a structure for passing the properties for the find request.
  • Constructor Details

    • FindRequestBody

      public FindRequestBody()
      Default constructor
    • FindRequestBody

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

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

    • getSearchProperties

      public SearchProperties getSearchProperties()
      Return the details of the property values that must be true for the returned metadata elements.
      Returns:
      property specification
    • setSearchProperties

      public void setSearchProperties(SearchProperties searchProperties)
      Set up the details of the property values that must be true for the returned metadata elements.
      Parameters:
      searchProperties - property specification
    • getMatchClassifications

      public SearchClassifications getMatchClassifications()
      Return details about the classifications that need to be present/absent from the search request.
      Returns:
      classification specification
    • setMatchClassifications

      public void setMatchClassifications(SearchClassifications matchClassifications)
      Set up details about the classifications that need to be present/absent from the search request.
      Parameters:
      matchClassifications - classification specification
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class ResultsRequestBody
      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 QueryOptions
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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