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

public class ProductWorkScheduling extends VdmEntity<ProductWorkScheduling>
Work Scheduling Data

Original entity name from the Odata EDM: A_ProductWorkSchedulingType

  • Field Details

    • ALL_FIELDS

      public static final ProductWorkSchedulingSelectable ALL_FIELDS
      Selector for all available fields of ProductWorkScheduling.
    • PRODUCT

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

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

      public static final ProductWorkSchedulingField<BigDecimal> MATERIAL_BASE_QUANTITY
      Use with available fluent helpers to apply the MaterialBaseQuantity field to query operations.
    • UNLIMITED_OVER_DELIV_IS_ALLOWED

      public static final ProductWorkSchedulingField<Boolean> UNLIMITED_OVER_DELIV_IS_ALLOWED
      Use with available fluent helpers to apply the UnlimitedOverDelivIsAllowed field to query operations.
    • OVER_DELIV_TOLERANCE_LIMIT

      public static final ProductWorkSchedulingField<BigDecimal> OVER_DELIV_TOLERANCE_LIMIT
      Use with available fluent helpers to apply the OverDelivToleranceLimit field to query operations.
    • UNDER_DELIV_TOLERANCE_LIMIT

      public static final ProductWorkSchedulingField<BigDecimal> UNDER_DELIV_TOLERANCE_LIMIT
      Use with available fluent helpers to apply the UnderDelivToleranceLimit field to query operations.
    • PRODUCTION_INVTRY_MANAGED_LOC

      public static final ProductWorkSchedulingField<String> PRODUCTION_INVTRY_MANAGED_LOC
      Use with available fluent helpers to apply the ProductionInvtryManagedLoc field to query operations.
    • BASE_UNIT

      public static final ProductWorkSchedulingField<String> BASE_UNIT
      Use with available fluent helpers to apply the BaseUnit field to query operations.
  • Constructor Details

    • ProductWorkScheduling

      public ProductWorkScheduling()
    • ProductWorkScheduling

      public ProductWorkScheduling(@Nullable String product, @Nullable String plant, @Nullable BigDecimal materialBaseQuantity, @Nullable Boolean unlimitedOverDelivIsAllowed, @Nullable BigDecimal overDelivToleranceLimit, @Nullable BigDecimal underDelivToleranceLimit, @Nullable String productionInvtryManagedLoc, @Nullable String baseUnit)
  • Method Details

    • getType

      @Nonnull public Class<ProductWorkScheduling> getType()
      Specified by:
      getType in class VdmObject<ProductWorkScheduling>
    • 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
    • setMaterialBaseQuantity

      public void setMaterialBaseQuantity(@Nullable BigDecimal materialBaseQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaterialBaseQuantity

      Parameters:
      materialBaseQuantity - Base quantity
    • setUnlimitedOverDelivIsAllowed

      public void setUnlimitedOverDelivIsAllowed(@Nullable Boolean unlimitedOverDelivIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed

      Parameters:
      unlimitedOverDelivIsAllowed - Indicator: Unlimited Overdelivery Allowed
    • setOverDelivToleranceLimit

      public void setOverDelivToleranceLimit(@Nullable BigDecimal overDelivToleranceLimit)
      Constraints: Not nullable, Precision: 3, Scale: 1

      Original property name from the Odata EDM: OverDelivToleranceLimit

      Parameters:
      overDelivToleranceLimit - Overdelivery tolerance limit
    • setUnderDelivToleranceLimit

      public void setUnderDelivToleranceLimit(@Nullable BigDecimal underDelivToleranceLimit)
      Constraints: Not nullable, Precision: 3, Scale: 1

      Original property name from the Odata EDM: UnderDelivToleranceLimit

      Parameters:
      underDelivToleranceLimit - Underdelivery tolerance limit
    • setProductionInvtryManagedLoc

      public void setProductionInvtryManagedLoc(@Nullable String productionInvtryManagedLoc)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductionInvtryManagedLoc

      Parameters:
      productionInvtryManagedLoc - Issue Storage Location
    • setBaseUnit

      public void setBaseUnit(@Nullable String baseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Parameters:
      baseUnit - Base Unit of Measure
    • getEntityCollection

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

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

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<ProductWorkScheduling>
    • field

      @Nonnull public static <T> ProductWorkSchedulingField<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> ProductWorkSchedulingField<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<ProductWorkScheduling>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ProductWorkScheduling.ProductWorkSchedulingBuilder 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
    • getMaterialBaseQuantity

      @Nullable public BigDecimal getMaterialBaseQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: MaterialBaseQuantity

      Returns:
      Base quantity
    • getUnlimitedOverDelivIsAllowed

      @Nullable public Boolean getUnlimitedOverDelivIsAllowed()
      Constraints: none

      Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed

      Returns:
      Indicator: Unlimited Overdelivery Allowed
    • getOverDelivToleranceLimit

      @Nullable public BigDecimal getOverDelivToleranceLimit()
      Constraints: Not nullable, Precision: 3, Scale: 1

      Original property name from the Odata EDM: OverDelivToleranceLimit

      Returns:
      Overdelivery tolerance limit
    • getUnderDelivToleranceLimit

      @Nullable public BigDecimal getUnderDelivToleranceLimit()
      Constraints: Not nullable, Precision: 3, Scale: 1

      Original property name from the Odata EDM: UnderDelivToleranceLimit

      Returns:
      Underdelivery tolerance limit
    • getProductionInvtryManagedLoc

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

      Original property name from the Odata EDM: ProductionInvtryManagedLoc

      Returns:
      Issue Storage Location
    • getBaseUnit

      @Nullable public String getBaseUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • toString

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

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

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

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