org.odata4j.producer
Interface CollectionResponse<T extends OObject>

All Superinterfaces:
BaseResponse

public interface CollectionResponse<T extends OObject>
extends BaseResponse

An CollectionResponse is a response to a client request expecting a collection of OData objects.

The Responses static factory class can be used to create CollectionResponse instances.


Method Summary
 OCollection<T> getCollection()
           
 String getCollectionName()
           
 EdmEntitySet getEntitySet()
          Gets the entity-set for the entities if the collection is a collection of entities.
 Integer getInlineCount()
          Gets the inline-count value, if applicable.
 String getSkipToken()
          Gets the continuation token to use on a subsequent request, if applicable.
 

Method Detail

getCollection

OCollection<T> getCollection()

getCollectionName

String getCollectionName()

getEntitySet

EdmEntitySet getEntitySet()
Gets the entity-set for the entities if the collection is a collection of entities.

Returns:
the entity-set for the entities

getInlineCount

Integer getInlineCount()
Gets the inline-count value, if applicable.

Returns:
the inline-count value, if applicable

getSkipToken

String getSkipToken()
Gets the continuation token to use on a subsequent request, if applicable.

Returns:
a continuation token, if applicable


http://odata4j.org