java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EntityNeighborhoodFindRequest, OMRSAPIHistoricalFindRequest, OMRSAPIPagedFindRequest

public class OMRSAPIFindRequest extends OMRSAPIRequest
OMRSAPISearchRequest provides a common header for OMRS managed rest to the OMRS REST API. It manages information about OMRS exceptions. If no exception has been raised exceptionClassName is null.
See Also:
  • Constructor Details

    • OMRSAPIFindRequest

      public OMRSAPIFindRequest()
      Default constructor
    • OMRSAPIFindRequest

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

    • getLimitResultsByStatus

      public List<InstanceStatus> getLimitResultsByStatus()
      Return the list of statuses that the resulting metadata instances must be in.
      Returns:
      list of instance status enums.
    • setLimitResultsByStatus

      public void setLimitResultsByStatus(List<InstanceStatus> limitResultsByStatus)
      Set up the list of statuses that the resulting metadata instances must be in.
      Parameters:
      limitResultsByStatus - list of instance status enums.
    • toString

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