com.jscape.sql.pagination

## Class Page<T>

- java.lang.Object
- - com.jscape.sql.pagination.Page<T>

-     public class Page<T>
      extends java.lang.Object

  Author:
    Alex Usun

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Page()`
    `Page(long recordIndex, long totalRecords, java.util.List<T> records)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Page<T>` | `empty()`
    `long` | `getRecordIndex()`
    `java.util.List<T>` | `getRecords()`
    `long` | `getTotalRecords()`
    `void` | `setRecordIndex(long value)`
    `void` | `setRecords(java.util.List<T> value)`
    `void` | `setTotalRecords(long value)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Page

          public Page(long recordIndex,
                      long totalRecords,
                      java.util.List<T> records)

    - #### Page

          public Page()

  - ### Method Detail

    - #### empty

          public static <T> Page<T> empty()

    - #### getRecordIndex

          public long getRecordIndex()

    - #### setRecordIndex

          public void setRecordIndex(long value)

    - #### getTotalRecords

          public long getTotalRecords()

    - #### setTotalRecords

          public void setTotalRecords(long value)

    - #### getRecords

          public java.util.List<T> getRecords()

    - #### setRecords

          public void setRecords(java.util.List<T> value)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © Advanced Systems Concepts Inc. 2009-2021. All Rights Reserved