Class ClassificationListResponse

All Implemented Interfaces:
Serializable

public class ClassificationListResponse extends OMRSAPIPagedResponse
ClassificationListResponse support an OMRS REST API response that returns a list of Classification objects.
See Also:
  • Constructor Details

    • ClassificationListResponse

      public ClassificationListResponse()
      Default constructor
    • ClassificationListResponse

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

    • getClassifications

      public List<Classification> getClassifications()
      Return the list of classifications.
      Returns:
      classifications list
    • setClassifications

      public void setClassifications(List<Classification> classifications)
      Set up the list of entities.
      Parameters:
      classifications - entity list
    • toString

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