ERXRestFetchSpecification< T extends EOEnterpriseObject >.Results< T > Class Reference

Collaboration diagram for ERXRestFetchSpecification< T extends EOEnterpriseObject >.Results< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int batchSize ()
NSArray< T > objects ()
 Results (NSArray< T > objects, int startIndex, int batchSize, int totalCount)
int startIndex ()
int totalCount ()

Private Attributes

int _batchSize
NSArray< T > _objects
int _startIndex
int _total


Detailed Description

Encapsulates the results of a fetch along with some fetch metadata.

Author:
mschrag
Parameters:
<T> the type of the result

Constructor & Destructor Documentation

Results ( NSArray< T >  objects,
int  startIndex,
int  batchSize,
int  totalCount 
)

Constructs a new Results object.

Parameters:
objects the objects in the result
startIndex the start index of the fetch
batchSize the size of the batch
totalCount the total number of objects


Member Function Documentation

int batchSize (  ) 

Returns the batch size.

Returns:
the batch size

NSArray<T> objects (  ) 

Returns the objects from this batch.

Returns:
the objects from this batch

int startIndex (  ) 

Returns the start index of the fetch.

Returns:
the start index of the fetch

int totalCount (  ) 

Returns the total count of the results.

Returns:
the total count of the results


Member Data Documentation

int _batchSize [private]

NSArray<T> _objects [private]

int _startIndex [private]

int _total [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:27 2012 for Project Wonder by  doxygen 1.5.8