Class LocationByKeyFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey<LocationByKeyFluentHelper,Location,LocationSelectable>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.LocationByKeyFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class LocationByKeyFluentHelper
extends FluentHelperByKey<LocationByKeyFluentHelper,Location,LocationSelectable>
Fluent helper to fetch a single
Location entity using key fields. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself.-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionLocationByKeyFluentHelper(String servicePath, String entityCollection, UUID locationUUID) Creates a fluent helper object that will fetch a singleLocationentity with the provided key field values. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey
executeRequest, select, toRequest, withCsrfToken, withQueryParameterMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders
-
Constructor Details
-
LocationByKeyFluentHelper
public LocationByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, UUID locationUUID) Creates a fluent helper object that will fetch a singleLocationentity with the provided key field values. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
entityCollection- Entity Collection to be used to fetch a singleLocationlocationUUID- Location Global IdentificationConstraints: Not nullable
servicePath- Service path to be used to fetch a singleLocation
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<LocationByKeyFluentHelper,Location, Location>
-
getKey
- Specified by:
getKeyin classFluentHelperByKey<LocationByKeyFluentHelper,Location, LocationSelectable>
-