public class MaintainYearsPeriodByKeyFluentHelper extends FluentHelperByKey<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriodSelectable>
MaintainYearsPeriod
entity using key fields. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself.Constructor and Description |
---|
MaintainYearsPeriodByKeyFluentHelper(String servicePath,
String material,
String plant,
String mRPArea,
String requirementsType,
String forecastDemandVersion,
LocalDateTime forecastPeriodStartDate)
Creates a fluent helper object that will fetch a single
MaintainYearsPeriod entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<MaintainYearsPeriod> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withErrorHandler, withQueryParameter
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata
public MaintainYearsPeriodByKeyFluentHelper(@Nonnull String servicePath, String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, LocalDateTime forecastPeriodStartDate)
MaintainYearsPeriod
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.
Constraints: Not nullable, Maximum length: 10
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
forecastDemandVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
servicePath
- Service path to be used to fetch a single MaintainYearsPeriod
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
requirementsType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
forecastPeriodStartDate
- Period Start Date
Constraints: Not nullable, Precision: 7
@Nonnull protected Class<MaintainYearsPeriod> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriod>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<MaintainYearsPeriodByKeyFluentHelper,MaintainYearsPeriod,MaintainYearsPeriodSelectable>
Copyright © 2019 SAP SE. All rights reserved.