|
|||||||||
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 | |
---|---|
boolean |
execute()
Sends the modification-request to the OData service and returns success or failure. |
OModifyRequest<T> |
link(String navProperty,
OEntity target)
Define an explicit link to another related entity. |
OModifyRequest<T> |
link(String navProperty,
OEntityKey targetKey)
Define an explicit link to another related entity. |
OModifyRequest<T> |
nav(String navProperty,
OEntityKey key)
Select a new modification entity by navigating to a referenced entity in a child collection. |
OModifyRequest<T> |
properties(Iterable<OProperty<?>> props)
Set properties on the new entity. |
OModifyRequest<T> |
properties(OProperty<?>... props)
Set properties on the new entity. |
Method Detail |
---|
boolean execute()
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 |