Class PaginatedResultList<T>

Type Parameters:
T - the entity type

public class PaginatedResultList<T> extends ResultList<T>
A paginated ResultList.
Author:
Dejan Brkic, avasquez
  • Field Details

    • total

      protected long total
    • offset

      protected int offset
    • limit

      protected int limit
  • Constructor Details

    • PaginatedResultList

      public PaginatedResultList()
  • Method Details

    • getTotal

      public long getTotal()
      Returns the total of results.
    • setTotal

      public void setTotal(long total)
      Sets the total of results.
    • getOffset

      public int getOffset()
      Returns the offset in the total of results this result list starts.
    • setOffset

      public void setOffset(int offset)
      Sets the offset in the total of results this result list starts.
    • getLimit

      public int getLimit()
      Returns the number of items in the result list.
    • setLimit

      public void setLimit(int limit)
      Sets the number of items in the result list.