java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductPlantForecasting>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productmaster.ProductPlantForecasting

public class ProductPlantForecasting extends VdmEntity<ProductPlantForecasting>
Forecasting Data

Original entity name from the Odata EDM: A_ProductPlantForecastingType

  • Field Details

    • ALL_FIELDS

      public static final ProductPlantForecastingSelectable ALL_FIELDS
      Selector for all available fields of ProductPlantForecasting.
    • PRODUCT

      public static final ProductPlantForecastingField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final ProductPlantForecastingField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • CONSUMPTION_REF_USAGE_END_DATE

      public static final ProductPlantForecastingField<LocalDateTime> CONSUMPTION_REF_USAGE_END_DATE
      Use with available fluent helpers to apply the ConsumptionRefUsageEndDate field to query operations.
    • CONSUMPTION_QTY_MULTIPLIER

      public static final ProductPlantForecastingField<BigDecimal> CONSUMPTION_QTY_MULTIPLIER
      Use with available fluent helpers to apply the ConsumptionQtyMultiplier field to query operations.
    • CONSUMPTION_REFERENCE_PRODUCT

      public static final ProductPlantForecastingField<String> CONSUMPTION_REFERENCE_PRODUCT
      Use with available fluent helpers to apply the ConsumptionReferenceProduct field to query operations.
    • CONSUMPTION_REFERENCE_PLANT

      public static final ProductPlantForecastingField<String> 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

      @Nonnull public Class<ProductPlantForecasting> getType()
      Specified by:
      getType in class VdmObject<ProductPlantForecasting>
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setConsumptionRefUsageEndDate

      public void setConsumptionRefUsageEndDate(@Nullable LocalDateTime consumptionRefUsageEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConsumptionRefUsageEndDate

      Parameters:
      consumptionRefUsageEndDate - To date of the material to be copied for consumption
    • setConsumptionQtyMultiplier

      public void setConsumptionQtyMultiplier(@Nullable BigDecimal consumptionQtyMultiplier)
      Constraints: Not nullable, Precision: 4, Scale: 2

      Original property name from the Odata EDM: ConsumptionQtyMultiplier

      Parameters:
      consumptionQtyMultiplier - Multiplier for reference material for consumption
    • setConsumptionReferenceProduct

      public void setConsumptionReferenceProduct(@Nullable String consumptionReferenceProduct)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ConsumptionReferenceProduct

      Parameters:
      consumptionReferenceProduct - Reference material for consumption
    • setConsumptionReferencePlant

      public void setConsumptionReferencePlant(@Nullable String consumptionReferencePlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConsumptionReferencePlant

      Parameters:
      consumptionReferencePlant - Reference plant for consumption
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ProductPlantForecasting>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ProductPlantForecasting>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ProductPlantForecasting>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProductPlantForecasting>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProductPlantForecasting>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProductPlantForecasting>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductPlantForecasting>
    • builder

    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getConsumptionRefUsageEndDate

      @Nullable public LocalDateTime getConsumptionRefUsageEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ConsumptionRefUsageEndDate

      Returns:
      To date of the material to be copied for consumption
    • getConsumptionQtyMultiplier

      @Nullable public BigDecimal getConsumptionQtyMultiplier()
      Constraints: Not nullable, Precision: 4, Scale: 2

      Original property name from the Odata EDM: ConsumptionQtyMultiplier

      Returns:
      Multiplier for reference material for consumption
    • getConsumptionReferenceProduct

      @Nullable public String getConsumptionReferenceProduct()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ConsumptionReferenceProduct

      Returns:
      Reference material for consumption
    • getConsumptionReferencePlant

      @Nullable public String getConsumptionReferencePlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConsumptionReferencePlant

      Returns:
      Reference plant for consumption
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ProductPlantForecasting>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ProductPlantForecasting>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ProductPlantForecasting>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductPlantForecasting>