Class Paging


  • public class Paging
    extends java.lang.Object
    Represents paging of collections of resources. Set by the client request.
    skipCount - How many entries exist in the entire collection before those included in the list
    maxItems - The maximum number of items the client requires. Defaults to 100.
    Author:
    Gethin James, Martin Muller (mmuller)
    • Method Detail

      • getSkipCount

        public int getSkipCount()
        How many entries exist in the entire collection before those included in the list
        Returns:
        Integer
      • getMaxItems

        public int getMaxItems()
        The maximum number of items the client requires. Defaults to 100.
        Returns:
        Integer
      • valueOf

        public static Paging valueOf​(int skipCount,
                                     int maxItems)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object