Uses of Class
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
Package
Description
-
Uses of VdmEntity in com.sap.cloud.sdk.datamodel.odata.helper
Modifier and TypeClassDescriptionclass
FluentHelperByKey<FluentHelperT,
EntityT extends VdmEntity<?>, SelectableT> Representation of an OData request to retrieve an entity by its key as a fluent interface for further configuring the request andexecuting
it.class
FluentHelperCreate<FluentHelperT,
EntityT extends VdmEntity<?>> Representation of an OData create request as a fluent interface for further configuring the request andexecuting
it.class
FluentHelperDelete<FluentHelperT,
EntityT extends VdmEntity<?>> Representation of an OData delete request as a fluent interface for further configuring the request andexecuting
it.class
FluentHelperModification<FluentHelperT,
EntityT extends VdmEntity<?>> Representation of an OData modification request (Create, Update, Delete) as a fluent interface for further configuring the request andexecuting
it.class
FluentHelperRead<FluentHelperT,
EntityT extends VdmEntity<?>, SelectableT> Representation of an OData query as a fluent interface for further configuring the request andexecuting
it.class
FluentHelperUpdate<FluentHelperT,
EntityT extends VdmEntity<?>> Representation of an OData update request as a fluent interface for further configuring the request andexecuting
it.final class
ModificationResponse<EntityT extends VdmEntity<?>>
Generic OData service response wrapper for data modification requests.final class
VdmEntityUtil<EntityT extends VdmEntity<?>>
Utility class to manage OData entity deserialization.Modifier and TypeClassDescriptionclass
VdmMediaEntity<EntityT>
Represents a media entity which exposes additional data under a$value
endpoint.Modifier and TypeMethodDescription<ParentEntityT extends VdmEntity<?>>
FluentHelperTFluentHelperCreate.asChildOf
(ParentEntityT entity, EntityLink<? extends EntityLink<?, ParentEntityT, EntityT>, ParentEntityT, EntityT> entityLink) This function allows to create a new entity via an existing parent entity.VdmEntity.fetchFieldAsList
(String fieldName, Class<T> fieldType) Helper method to lazily resolve a field value from current entity.protected <T extends VdmEntity<T>>
TVdmEntity.fetchFieldAsSingle
(String fieldName, Class<T> fieldType) Helper method to lazily resolve a field value from current entity.static <EntityT extends VdmEntity<?>>
ModificationResponse<EntityT>ModificationResponse.of
(ODataRequestResultGeneric result, EntityT originalRequestEntity, Destination destination) -
Uses of VdmEntity in com.sap.cloud.sdk.datamodel.odata.helper.batch
Modifier and TypeMethodDescriptionBatchChangeSetFluentHelperBasic.addRequestCreate
(Function<EntityT, FluentHelperCreate<?, EntityT>> serviceMethod, EntityT entity) Add a create operation to the current changeset request.BatchChangeSetFluentHelperBasic.addRequestDelete
(Function<EntityT, FluentHelperDelete<?, EntityT>> serviceMethod, EntityT entity) Add a delete operation to the current changeset request.BatchChangeSetFluentHelperBasic.addRequestUpdate
(Function<EntityT, FluentHelperUpdate<?, EntityT>> serviceMethod, EntityT entity) Add an update operation to the current changeset request.default <EntityT extends VdmEntity<?>>
EntityTBatchResponse.getReadResult
(FluentHelperByKey<?, EntityT, ?> helper) Convenience method to get the result for a read-by-key request on the OData batch response.BatchResponse.getReadResult
(FluentHelperRead<?, EntityT, ?> helper) Convenience method to get the result for a read request on the OData batch response.<EntityT extends VdmEntity<?>>
EntityTDefaultBatchResponseResult.getReadResult
(FluentHelperByKey<?, EntityT, ?> helper) DefaultBatchResponseResult.getReadResult
(FluentHelperRead<?, EntityT, ?> helper) Modifier and TypeMethodDescriptionBatchResponseChangeSet.getCreatedEntities()
Get all newly created entities from this changeset.