org.odata4j.consumer
Class ConsumerUpdateLinkRequest

java.lang.Object
  extended by org.odata4j.consumer.AbstractConsumerEntityRequest<Void>
      extended by org.odata4j.consumer.ConsumerUpdateLinkRequest
All Implemented Interfaces:
OEntityRequest<Void>

public class ConsumerUpdateLinkRequest
extends AbstractConsumerEntityRequest<Void>

Update-link-request implementation.


Constructor Summary
ConsumerUpdateLinkRequest(ODataClient client, String serviceRootUri, EdmDataServices metadata, OEntityId sourceEntity, OEntityId newTargetEntity, String targetNavProp, Object... oldTargetKeyValues)
           
 
Method Summary
 Void execute()
          Sends the entity-request to the OData service and returns the response.
 
Methods inherited from class org.odata4j.consumer.AbstractConsumerEntityRequest
getClient, getMetadata, getSegments, getServiceRootUri, nav, nav, toSingleLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerUpdateLinkRequest

public ConsumerUpdateLinkRequest(ODataClient client,
                                 String serviceRootUri,
                                 EdmDataServices metadata,
                                 OEntityId sourceEntity,
                                 OEntityId newTargetEntity,
                                 String targetNavProp,
                                 Object... oldTargetKeyValues)
Method Detail

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