org.apache.cayenne.util
Class IncrementalListResponse

java.lang.Object
  extended by org.apache.cayenne.util.ListResponse
      extended by org.apache.cayenne.util.IncrementalListResponse
All Implemented Interfaces:
Serializable, QueryResponse

public class IncrementalListResponse
extends ListResponse

A QueryResponse that contains a sublist of the query result. Also contains extra information about the full list.

Since:
1.2
See Also:
Serialized Form

Field Summary
protected  int fullSize
           
 
Fields inherited from class org.apache.cayenne.util.ListResponse
currentIndex, objectList
 
Constructor Summary
IncrementalListResponse(List objectList, int fullSize)
           
 
Method Summary
 int getFullSize()
           
 
Methods inherited from class org.apache.cayenne.util.ListResponse
currentList, currentUpdateCount, firstList, firstUpdateCount, isList, next, reset, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fullSize

protected int fullSize
Constructor Detail

IncrementalListResponse

public IncrementalListResponse(List objectList,
                               int fullSize)
Method Detail

getFullSize

public int getFullSize()


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.