org.odata4j.consumer
Class ConsumerUpdateLinkRequest
java.lang.Object
org.odata4j.consumer.AbstractConsumerEntityRequest<Void>
org.odata4j.consumer.ConsumerUpdateLinkRequest
- All Implemented Interfaces:
- OEntityRequest<Void>
public class ConsumerUpdateLinkRequest
- extends AbstractConsumerEntityRequest<Void>
Update-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 |
ConsumerUpdateLinkRequest
public ConsumerUpdateLinkRequest(ODataClient client,
String serviceRootUri,
EdmDataServices metadata,
OEntityId sourceEntity,
OEntityId newTargetEntity,
String targetNavProp,
Object... oldTargetKeyValues)
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