EntityT
- The generic entity type for which request builders can be instantiated.@Beta public interface ServiceWithNavigableEntitySingle<EntityT extends VdmEntity<EntityT>> extends ServiceWithNavigableEntities.NavigableEntity<EntityT>
Modifier and Type | Method and Description |
---|---|
DeleteRequestBuilder<EntityT> |
delete()
Deletes the nested entity in the OData service.
|
GetByKeyRequestBuilder<EntityT> |
get()
Fetch the nested entity.
|
UpdateRequestBuilder<EntityT> |
update(EntityT item)
Update an existing entity and save it to the OData service.
|
navigateTo, navigateTo
@Nonnull GetByKeyRequestBuilder<EntityT> get()
execute
method on the request builder object.@Nonnull UpdateRequestBuilder<EntityT> update(@Nonnull EntityT item)
item
- The entity object that will be updated.
Constraints: Not nullable
execute
method on the request builder object.@Nonnull DeleteRequestBuilder<EntityT> delete()
execute
method on the request builder object.Copyright © 2021 SAP SE. All rights reserved.