org.apache.olingo.odata2.jpa.processor.core.access.data
Class JPAPage

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.core.access.data.JPAPage
All Implemented Interfaces:
JPAPaging

public class JPAPage
extends Object
implements JPAPaging


Nested Class Summary
static class JPAPage.JPAPageBuilder
           
 
Constructor Summary
protected JPAPage(int startPage, int nextPage, List<Object> pagedEntities, int pageSize)
           
 
Method Summary
 int getNextPage()
           
 List<Object> getPagedEntities()
           
 int getPageSize()
           
 int getStartPage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAPage

protected JPAPage(int startPage,
                  int nextPage,
                  List<Object> pagedEntities,
                  int pageSize)
Method Detail

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface JPAPaging

getPagedEntities

public List<Object> getPagedEntities()
Specified by:
getPagedEntities in interface JPAPaging

getNextPage

public int getNextPage()
Specified by:
getNextPage in interface JPAPaging

getStartPage

public int getStartPage()
Specified by:
getStartPage in interface JPAPaging


Copyright © 2013-2014 The Apache Software Foundation. All Rights Reserved.