| org.odata4j.core.OCreateRequest<T> |
A consumer-side create-request builder. Call #execute() to issue the request.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Use a related parent entity's relationship collection to define an implicit link.
| |||||||||||
Sends the create-request to the OData service and returns the newly
created entity.
| |||||||||||
Returns a locally-built entity and does not send the create-request
to the service.
| |||||||||||
Returns the low level, not yet executed OData request
| |||||||||||
Create related entities inline as part of a single request.
| |||||||||||
Define an explicit link to another related entity.
| |||||||||||
Define an explicit link to another related entity.
| |||||||||||
Set properties on the new entity.
| |||||||||||
Set properties on the new entity.
| |||||||||||
Use a related parent entity's relationship collection to define an implicit link.
e.g. create a new Product entity using /Categories(10)/Products instead of /Products
| parent | The parent entity |
|---|---|
| navProperty | The parent entity's relationship collection navigation property |
Sends the create-request to the OData service and returns the newly created entity.
| serviceUri |
|---|
Returns a locally-built entity and does not send the create-request to the service. The locally-built entity can be used inline as part of other create-requests.
Returns the low level, not yet executed OData request
| serviceUri |
|---|
Define an explicit link to another related entity.
| navProperty | The new entity's relationship navigation property |
|---|---|
| targetKey | The key of the link target entity |
Define an explicit link to another related entity.
| navProperty | The new entity's relationship navigation property |
|---|---|
| target | The link target entity |
Set properties on the new entity.
| props | The properties |
|---|
Set properties on the new entity.
| props | The properties |
|---|