Class ProductPlantForecasting
Original entity name from the Odata EDM: A_ProductPlantForecastingType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProductPlantForecastingSelectableSelector for all available fields of ProductPlantForecasting.static final ProductPlantForecastingField<BigDecimal>Use with available fluent helpers to apply the ConsumptionQtyMultiplier field to query operations.static final ProductPlantForecastingField<LocalDateTime>Use with available fluent helpers to apply the ConsumptionRefUsageEndDate field to query operations.static final ProductPlantForecastingField<String>Use with available fluent helpers to apply the ConsumptionReferencePlant field to query operations.static final ProductPlantForecastingField<String>Use with available fluent helpers to apply the ConsumptionReferenceProduct field to query operations.static final ProductPlantForecastingField<String>Use with available fluent helpers to apply the Plant field to query operations.static final ProductPlantForecastingField<String>Use with available fluent helpers to apply the Product field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProductPlantForecasting(String product, String plant, LocalDateTime consumptionRefUsageEndDate, BigDecimal consumptionQtyMultiplier, String consumptionReferenceProduct, String consumptionReferencePlant) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
ProductPlantForecastingField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProductPlantForecastingField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 4, Scale: 2Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 0protected Stringprotected StringgetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetConsumptionQtyMultiplier(BigDecimal consumptionQtyMultiplier) Constraints: Not nullable, Precision: 4, Scale: 2voidsetConsumptionReferencePlant(String consumptionReferencePlant) Constraints: Not nullable, Maximum length: 4voidsetConsumptionReferenceProduct(String consumptionReferenceProduct) Constraints: Not nullable, Maximum length: 40voidsetConsumptionRefUsageEndDate(LocalDateTime consumptionRefUsageEndDate) Constraints: Not nullable, Precision: 0void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProductPlantForecasting. -
PRODUCT
Use with available fluent helpers to apply the Product field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
CONSUMPTION_REF_USAGE_END_DATE
Use with available fluent helpers to apply the ConsumptionRefUsageEndDate field to query operations. -
CONSUMPTION_QTY_MULTIPLIER
Use with available fluent helpers to apply the ConsumptionQtyMultiplier field to query operations. -
CONSUMPTION_REFERENCE_PRODUCT
Use with available fluent helpers to apply the ConsumptionReferenceProduct field to query operations. -
CONSUMPTION_REFERENCE_PLANT
Use with available fluent helpers to apply the ConsumptionReferencePlant field to query operations.
-
-
Constructor Details
-
ProductPlantForecasting
public ProductPlantForecasting() -
ProductPlantForecasting
public ProductPlantForecasting(@Nullable String product, @Nullable String plant, @Nullable LocalDateTime consumptionRefUsageEndDate, @Nullable BigDecimal consumptionQtyMultiplier, @Nullable String consumptionReferenceProduct, @Nullable String consumptionReferencePlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantForecasting>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setConsumptionRefUsageEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConsumptionRefUsageEndDate
- Parameters:
consumptionRefUsageEndDate- To date of the material to be copied for consumption
-
setConsumptionQtyMultiplier
Constraints: Not nullable, Precision: 4, Scale: 2Original property name from the Odata EDM: ConsumptionQtyMultiplier
- Parameters:
consumptionQtyMultiplier- Multiplier for reference material for consumption
-
setConsumptionReferenceProduct
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ConsumptionReferenceProduct
- Parameters:
consumptionReferenceProduct- Reference material for consumption
-
setConsumptionReferencePlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConsumptionReferencePlant
- Parameters:
consumptionReferencePlant- Reference plant for consumption
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantForecasting>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantForecasting>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantForecasting>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantForecasting>
-
field
@Nonnull public static <T> ProductPlantForecastingField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> ProductPlantForecastingField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<ProductPlantForecasting>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProductPlantForecasting>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProductPlantForecasting>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantForecasting>
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getConsumptionRefUsageEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ConsumptionRefUsageEndDate
- Returns:
- To date of the material to be copied for consumption
-
getConsumptionQtyMultiplier
Constraints: Not nullable, Precision: 4, Scale: 2Original property name from the Odata EDM: ConsumptionQtyMultiplier
- Returns:
- Multiplier for reference material for consumption
-
getConsumptionReferenceProduct
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ConsumptionReferenceProduct
- Returns:
- Reference material for consumption
-
getConsumptionReferencePlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConsumptionReferencePlant
- Returns:
- Reference plant for consumption
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantForecasting>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantForecasting>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantForecasting>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantForecasting>
-