Class TypeLimitedFindRequest

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PropertyMatchFindRequest, SubtypeLimitedFindRequest, TypeLimitedHistoricalFindRequest

public class TypeLimitedFindRequest extends OMRSAPIPagedFindRequest
TypeLimitedFindRequest extends the paged find request to allow the caller to request results from only one type of instance.
See Also:
  • Constructor Details

    • TypeLimitedFindRequest

      public TypeLimitedFindRequest()
      Default constructor
    • TypeLimitedFindRequest

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

    • getTypeGUID

      public String getTypeGUID()
      Return the type guid to limit the results of the find request.
      Returns:
      String guid
    • setTypeGUID

      public void setTypeGUID(String typeGUID)
      Set up the type guid to limit the results of the find request.
      Parameters:
      typeGUID - String guid
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OMRSAPIPagedFindRequest
      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 OMRSAPIPagedFindRequest
      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 OMRSAPIPagedFindRequest
      Returns:
      int hash code