Class PaginatedResultList<T>

  • Type Parameters:
    T - the entity type

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

      • total

        protected int total
      • offset

        protected int offset
      • limit

        protected int limit
    • Constructor Detail

      • PaginatedResultList

        public PaginatedResultList()
    • Method Detail

      • getTotal

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

        public void setTotal​(int 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.