org.odata4j.consumer
Class ConsumerCreateLinkRequest
java.lang.Object
org.odata4j.consumer.AbstractConsumerEntityRequest<Void>
org.odata4j.consumer.ConsumerCreateLinkRequest
- All Implemented Interfaces:
- OEntityRequest<Void>
public class ConsumerCreateLinkRequest
- extends AbstractConsumerEntityRequest<Void>
Create-link-request implementation.
Method Summary |
Void |
execute()
Sends the entity-request to the OData service and returns the response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsumerCreateLinkRequest
public ConsumerCreateLinkRequest(ODataClient client,
String serviceRootUri,
EdmDataServices metadata,
OEntityId sourceEntity,
String targetNavProp,
OEntityId targetEntity)
execute
public Void execute()
throws ODataProducerException
- Description copied from interface:
OEntityRequest
- Sends the entity-request to the OData service and returns the response.
- Returns:
- the operation response
- Throws:
ODataProducerException
- error from the producer
http://odata4j.org