org.odata4j.core
Interface OEntityRequest<T>

Type Parameters:
T - the java-type of the operation response

public interface OEntityRequest<T>

A consumer-side entity-request builder, used for operations on a single entity such as GET and DELETE. Call execute() to issue the request.


Method Summary
 T execute()
          Sends the entity-request to the OData service and returns the response.
 OEntityRequest<T> nav(String navProperty)
          Navigate to a related entity using a single-valued navigation property.
 OEntityRequest<T> nav(String navProperty, OEntityKey key)
          Navigate to a related entity using a collection navigation property.
 

Method Detail

execute

T execute()
Sends the entity-request to the OData service and returns the response.

Returns:
the operation response

nav

OEntityRequest<T> nav(String navProperty)
Navigate to a related entity using a single-valued navigation property.

Parameters:
navProperty - the single-valued collection navigation property.
Returns:
the entity-request builder

nav

OEntityRequest<T> nav(String navProperty,
                      OEntityKey key)
Navigate to a related entity using a collection navigation property.

Parameters:
navProperty - the collection navigation property
key - the entity-key within the collection
Returns:
the entity-request builder


http://odata4j.org