Class ProductPlantWorkScheduling

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProductPlantWorkScheduling>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productv2.ProductPlantWorkScheduling
All Implemented Interfaces:
VdmEntitySet

public class ProductPlantWorkScheduling extends VdmEntity<ProductPlantWorkScheduling> implements VdmEntitySet
Product Plant Work Scheduling

Original entity name from the Odata EDM: ProductPlantWorkScheduling_Type

  • Field Details

  • Constructor Details

    • ProductPlantWorkScheduling

      public ProductPlantWorkScheduling()
    • ProductPlantWorkScheduling

      public ProductPlantWorkScheduling(@Nullable String product, @Nullable String plant, @Nullable BigDecimal productBaseQuantity, @Nullable Boolean unlimitedOverDelivIsAllowed, @Nullable BigDecimal overDeliveryTolerancePercent, @Nullable BigDecimal underDeliveryTolerancePercent, @Nullable String productionInvtryManagedLoc, @Nullable String productionOrderBatchCode, @Nullable Boolean prodIsWithdrawnFrmProdnBin, @Nullable String transitionMatrixProductsGroup, @Nullable String orderChangeManagementProfile, @Nullable String productComponentBackflushCode, @Nullable BigDecimal setupAndTeardownTime, @Nullable String productionSchedulingProfile, @Nullable BigDecimal transitionTime, @Nullable BigDecimal processingTimeInDays, @Nullable String productionSupervisor, @Nullable String productProductionQuantityUnit, @Nullable String prodProductionQuantityISOUnit, @Nullable String baseUnit, @Nullable String baseISOUnit, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
  • Method Details

    • getType

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

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

      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
    • setProductBaseQuantity

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

      Original property name from the Odata EDM: ProductBaseQuantity

      Parameters:
      productBaseQuantity - Base quantity
    • setUnlimitedOverDelivIsAllowed

      public void setUnlimitedOverDelivIsAllowed(@Nullable Boolean unlimitedOverDelivIsAllowed)
      Constraints: Not nullable

      Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed

      Parameters:
      unlimitedOverDelivIsAllowed - Indicator: Unlimited Overdelivery Allowed
    • setOverDeliveryTolerancePercent

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

      Original property name from the Odata EDM: OverDeliveryTolerancePercent

      Parameters:
      overDeliveryTolerancePercent - Overdelivery tolerance limit
    • setUnderDeliveryTolerancePercent

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

      Original property name from the Odata EDM: UnderDeliveryTolerancePercent

      Parameters:
      underDeliveryTolerancePercent - 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
    • setProductionOrderBatchCode

      public void setProductionOrderBatchCode(@Nullable String productionOrderBatchCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductionOrderBatchCode

      Parameters:
      productionOrderBatchCode - Determination of batch entry in the production/process order
    • setProdIsWithdrawnFrmProdnBin

      public void setProdIsWithdrawnFrmProdnBin(@Nullable Boolean prodIsWithdrawnFrmProdnBin)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdIsWithdrawnFrmProdnBin

      Parameters:
      prodIsWithdrawnFrmProdnBin - Indicator: withdrawal of stock from production bin
    • setTransitionMatrixProductsGroup

      public void setTransitionMatrixProductsGroup(@Nullable String transitionMatrixProductsGroup)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TransitionMatrixProductsGroup

      Parameters:
      transitionMatrixProductsGroup - Group of Materials for Transition Matrix
    • setOrderChangeManagementProfile

      public void setOrderChangeManagementProfile(@Nullable String orderChangeManagementProfile)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: OrderChangeManagementProfile

      Parameters:
      orderChangeManagementProfile - Overall profile for order change management
    • setProductComponentBackflushCode

      public void setProductComponentBackflushCode(@Nullable String productComponentBackflushCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductComponentBackflushCode

      Parameters:
      productComponentBackflushCode - Indicator: Backflush
    • setSetupAndTeardownTime

      public void setSetupAndTeardownTime(@Nullable BigDecimal setupAndTeardownTime)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: SetupAndTeardownTime

      Parameters:
      setupAndTeardownTime - Setup and teardown time
    • setProductionSchedulingProfile

      public void setProductionSchedulingProfile(@Nullable String productionSchedulingProfile)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProductionSchedulingProfile

      Parameters:
      productionSchedulingProfile - Production Scheduling Profile
    • setTransitionTime

      public void setTransitionTime(@Nullable BigDecimal transitionTime)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: TransitionTime

      Parameters:
      transitionTime - Interoperation time
    • setProcessingTimeInDays

      public void setProcessingTimeInDays(@Nullable BigDecimal processingTimeInDays)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: ProcessingTimeInDays

      Parameters:
      processingTimeInDays - Processing time
    • setProductionSupervisor

      public void setProductionSupervisor(@Nullable String productionSupervisor)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductionSupervisor

      Parameters:
      productionSupervisor - Production Supervisor
    • setProductProductionQuantityUnit

      public void setProductProductionQuantityUnit(@Nullable String productProductionQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductProductionQuantityUnit

      Parameters:
      productProductionQuantityUnit - Base Unit of Measure - No Conversion Routine
    • setProdProductionQuantityISOUnit

      public void setProdProductionQuantityISOUnit(@Nullable String prodProductionQuantityISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProdProductionQuantityISOUnit

      Parameters:
      prodProductionQuantityISOUnit - Production Unit in ISO Code
    • 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
    • setBaseISOUnit

      public void setBaseISOUnit(@Nullable String baseISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BaseISOUnit

      Parameters:
      baseISOUnit - Base unit of measure in ISO code
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<ProductPlantWorkScheduling>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductPlantWorkScheduling>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ProductPlantWorkScheduling>
    • getProductIfPresent

      @Nonnull public io.vavr.control.Option<Product> getProductIfPresent()
      Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.

      If the navigation property for an entity ProductPlantWorkScheduling has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _Product is already loaded, the result will contain the Product entity. If not, an Option with result state empty is returned.
    • setProduct

      public void setProduct(Product value)
      Overwrites the associated Product entity for the loaded navigation property _Product.
      Parameters:
      value - New Product entity.
    • getProductPlantIfPresent

      @Nonnull public io.vavr.control.Option<ProductPlant> getProductPlantIfPresent()
      Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property _ProductPlant.

      If the navigation property for an entity ProductPlantWorkScheduling has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _ProductPlant is already loaded, the result will contain the ProductPlant entity. If not, an Option with result state empty is returned.
    • setProductPlant

      public void setProductPlant(ProductPlant value)
      Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.
      Parameters:
      value - New ProductPlant entity.
    • builder

    • getProduct

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

      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
    • getProductBaseQuantity

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

      Original property name from the Odata EDM: ProductBaseQuantity

      Returns:
      Base quantity
    • getUnlimitedOverDelivIsAllowed

      @Nullable public Boolean getUnlimitedOverDelivIsAllowed()
      Constraints: Not nullable

      Original property name from the Odata EDM: UnlimitedOverDelivIsAllowed

      Returns:
      Indicator: Unlimited Overdelivery Allowed
    • getOverDeliveryTolerancePercent

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

      Original property name from the Odata EDM: OverDeliveryTolerancePercent

      Returns:
      Overdelivery tolerance limit
    • getUnderDeliveryTolerancePercent

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

      Original property name from the Odata EDM: UnderDeliveryTolerancePercent

      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
    • getProductionOrderBatchCode

      @Nullable public String getProductionOrderBatchCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductionOrderBatchCode

      Returns:
      Determination of batch entry in the production/process order
    • getProdIsWithdrawnFrmProdnBin

      @Nullable public Boolean getProdIsWithdrawnFrmProdnBin()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdIsWithdrawnFrmProdnBin

      Returns:
      Indicator: withdrawal of stock from production bin
    • getTransitionMatrixProductsGroup

      @Nullable public String getTransitionMatrixProductsGroup()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TransitionMatrixProductsGroup

      Returns:
      Group of Materials for Transition Matrix
    • getOrderChangeManagementProfile

      @Nullable public String getOrderChangeManagementProfile()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: OrderChangeManagementProfile

      Returns:
      Overall profile for order change management
    • getProductComponentBackflushCode

      @Nullable public String getProductComponentBackflushCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProductComponentBackflushCode

      Returns:
      Indicator: Backflush
    • getSetupAndTeardownTime

      @Nullable public BigDecimal getSetupAndTeardownTime()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: SetupAndTeardownTime

      Returns:
      Setup and teardown time
    • getProductionSchedulingProfile

      @Nullable public String getProductionSchedulingProfile()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProductionSchedulingProfile

      Returns:
      Production Scheduling Profile
    • getTransitionTime

      @Nullable public BigDecimal getTransitionTime()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: TransitionTime

      Returns:
      Interoperation time
    • getProcessingTimeInDays

      @Nullable public BigDecimal getProcessingTimeInDays()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: ProcessingTimeInDays

      Returns:
      Processing time
    • getProductionSupervisor

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

      Original property name from the Odata EDM: ProductionSupervisor

      Returns:
      Production Supervisor
    • getProductProductionQuantityUnit

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

      Original property name from the Odata EDM: ProductProductionQuantityUnit

      Returns:
      Base Unit of Measure - No Conversion Routine
    • getProdProductionQuantityISOUnit

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

      Original property name from the Odata EDM: ProdProductionQuantityISOUnit

      Returns:
      Production Unit in ISO Code
    • getBaseUnit

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

      Original property name from the Odata EDM: BaseUnit

      Returns:
      Base Unit of Measure
    • getBaseISOUnit

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

      Original property name from the Odata EDM: BaseISOUnit

      Returns:
      Base unit of measure in ISO code
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductPlantWorkScheduling>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<ProductPlantWorkScheduling>