| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the entity representation as a java typepublic interface OModifyRequest<T>
A consumer-side modification-request builder, used for operations such as MERGE and UPDATE.  Call execute() to issue the request.
| Method Summary | |
|---|---|
|  void | execute()Sends the modification request to the OData service. | 
|  OModifyRequest<T> | ifMatch(String precondition)Overrides the If-Match precondition. | 
|  OModifyRequest<T> | link(String navProperty,
     OEntity target)Defines an explicit link to another related entity. | 
|  OModifyRequest<T> | link(String navProperty,
     OEntityKey targetKey)Defines an explicit link to another related entity. | 
|  OModifyRequest<T> | nav(String navProperty,
    OEntityKey key)Selects a new modification entity by navigating to a referenced entity in a child collection. | 
|  OModifyRequest<T> | properties(Iterable<OProperty<?>> props)Sets properties on the new entity. | 
|  OModifyRequest<T> | properties(OProperty<?>... props)Sets properties on the new entity. | 
| Method Detail | 
|---|
void execute()
             throws ODataProducerException
ODataProducerException - error from the producerOModifyRequest<T> ifMatch(String precondition)
The If-Match header will default to the entity-tag of the entity used to start the builder sequence.
precondition - null, an entity-tag, or *
OModifyRequest<T> link(String navProperty,
                       OEntity target)
navProperty - the entity's relationship navigation propertytarget - the link target entity
OModifyRequest<T> link(String navProperty,
                       OEntityKey targetKey)
navProperty - the entity's relationship navigation propertytargetKey - the key of the link target entity
OModifyRequest<T> nav(String navProperty,
                      OEntityKey key)
navProperty - the child collectionkey - the referenced entity's key
OModifyRequest<T> properties(Iterable<OProperty<?>> props)
props - the properties
OModifyRequest<T> properties(OProperty<?>... props)
props - the properties
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||