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

public class ProdTimeDepdntStockLvl extends VdmEntity<ProdTimeDepdntStockLvl> implements VdmEntitySet
Stock Level Details

Original entity name from the Odata EDM: A_ProdTimeDepdntStockLvlType

  • Field Details

  • Constructor Details

    • ProdTimeDepdntStockLvl

      public ProdTimeDepdntStockLvl()
    • ProdTimeDepdntStockLvl

      public ProdTimeDepdntStockLvl(@Nullable String product, @Nullable String plant, @Nullable String mRPArea, @Nullable LocalDate stockLevelValidityStartDate, @Nullable LocalDate stockLevelValidityEndDate, @Nullable BigDecimal productSafetyStockLvlQuantity, @Nullable BigDecimal reorderThresholdQuantity, @Nullable BigDecimal productMaxStockLevelQuantity, @Nullable BigDecimal productTargetStockLvlQuantity, @Nullable String unitOfMeasure, @Nullable String unitOfMeasureISOCode, @Nullable BigDecimal targetSupplyDurationInDays, @Nullable BigDecimal maxSupplyDurationInDays, @Nullable BigDecimal safetySupplyDurationInDays, @Nullable String stockLevelProposalID, @Nullable String proposalVersion, @Nullable LocalDate proposalStartDate, @Nullable String changeMode, @Nullable String createdByUser, @Nullable String lastChangedByUser, @Nullable OffsetDateTime creationDateTime, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

      public void setMRPArea(@Nullable String mRPArea)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Parameters:
      mRPArea - MRP Area
    • setStockLevelValidityStartDate

      public void setStockLevelValidityStartDate(@Nullable LocalDate stockLevelValidityStartDate)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: StockLevelValidityStartDate

      Parameters:
      stockLevelValidityStartDate - Valid-From Date
    • setStockLevelValidityEndDate

      public void setStockLevelValidityEndDate(@Nullable LocalDate stockLevelValidityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: StockLevelValidityEndDate

      Parameters:
      stockLevelValidityEndDate - Valid-To Date
    • setProductSafetyStockLvlQuantity

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

      Original property name from the Odata EDM: ProductSafetyStockLvlQuantity

      Parameters:
      productSafetyStockLvlQuantity - Safety Stock
    • setReorderThresholdQuantity

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

      Original property name from the Odata EDM: ReorderThresholdQuantity

      Parameters:
      reorderThresholdQuantity - Reorder Point
    • setProductMaxStockLevelQuantity

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

      Original property name from the Odata EDM: ProductMaxStockLevelQuantity

      Parameters:
      productMaxStockLevelQuantity - Maximum Stock Level
    • setProductTargetStockLvlQuantity

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

      Original property name from the Odata EDM: ProductTargetStockLvlQuantity

      Parameters:
      productTargetStockLvlQuantity - Target Stock Level
    • setUnitOfMeasure

      public void setUnitOfMeasure(@Nullable String unitOfMeasure)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasure

      Parameters:
      unitOfMeasure - Base Unit of Measure
    • setUnitOfMeasureISOCode

      public void setUnitOfMeasureISOCode(@Nullable String unitOfMeasureISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasureISOCode

      Parameters:
      unitOfMeasureISOCode - ISO Code for Unit of Measurement
    • setTargetSupplyDurationInDays

      public void setTargetSupplyDurationInDays(@Nullable BigDecimal targetSupplyDurationInDays)
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: TargetSupplyDurationInDays

      Parameters:
      targetSupplyDurationInDays - Target Days of Supply in Workdays
    • setMaxSupplyDurationInDays

      public void setMaxSupplyDurationInDays(@Nullable BigDecimal maxSupplyDurationInDays)
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: MaxSupplyDurationInDays

      Parameters:
      maxSupplyDurationInDays - Maximum Days of Supply in Workdays
    • setSafetySupplyDurationInDays

      public void setSafetySupplyDurationInDays(@Nullable BigDecimal safetySupplyDurationInDays)
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: SafetySupplyDurationInDays

      Parameters:
      safetySupplyDurationInDays - Safety Days of Supply in Workdays
    • setStockLevelProposalID

      public void setStockLevelProposalID(@Nullable String stockLevelProposalID)
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: StockLevelProposalID

      Parameters:
      stockLevelProposalID - Proposal Id
    • setProposalVersion

      public void setProposalVersion(@Nullable String proposalVersion)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProposalVersion

      Parameters:
      proposalVersion - Proposal Version
    • setProposalStartDate

      public void setProposalStartDate(@Nullable LocalDate proposalStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ProposalStartDate

      Parameters:
      proposalStartDate - Proposal Validity From Date
    • setChangeMode

      public void setChangeMode(@Nullable String changeMode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ChangeMode

      Parameters:
      changeMode - Mode of change
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProdTimeDepdntStockLvl>
    • insertAndAdjustStkLvlInterval

      @Nonnull public static BoundAction.CollectionToSingle<ProdTimeDepdntStockLvl,ProdTimeDepdntStockLvl> insertAndAdjustStkLvlInterval(@Nonnull String product, @Nonnull String plant, @Nonnull String mRPArea, @Nullable LocalDate stockLevelValidityStartDate, @Nullable LocalDate stockLevelValidityEndDate, @Nonnull BigDecimal productSafetyStockLvlQuantity, @Nonnull BigDecimal reorderThresholdQuantity, @Nonnull BigDecimal productMaxStockLevelQuantity, @Nonnull BigDecimal productTargetStockLvlQuantity, @Nonnull String unitOfMeasure, @Nonnull String unitOfMeasureISOCode, @Nonnull BigDecimal targetSupplyDurationInDays, @Nonnull BigDecimal maxSupplyDurationInDays, @Nonnull BigDecimal safetySupplyDurationInDays)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      targetSupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: TargetSupplyDurationInDays

      product - Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Product

      mRPArea - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      unitOfMeasure - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: UnitOfMeasure

      stockLevelValidityStartDate - Constraints: Nullable

      Original parameter name from the Odata EDM: StockLevelValidityStartDate

      stockLevelValidityEndDate - Constraints: Nullable

      Original parameter name from the Odata EDM: StockLevelValidityEndDate

      safetySupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: SafetySupplyDurationInDays

      productMaxStockLevelQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductMaxStockLevelQuantity

      productSafetyStockLvlQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductSafetyStockLvlQuantity

      maxSupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: MaxSupplyDurationInDays

      unitOfMeasureISOCode - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: UnitOfMeasureISOCode

      productTargetStockLvlQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductTargetStockLvlQuantity

      plant - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      reorderThresholdQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ReorderThresholdQuantity

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • splitStockLevelInterval

      @Nonnull public static BoundAction.CollectionToSingle<ProdTimeDepdntStockLvl,ProdTimeDepdntStockLvl> splitStockLevelInterval(@Nonnull String product, @Nonnull String plant, @Nonnull String mRPArea, @Nullable LocalDate stockLevelValidityStartDate, @Nullable LocalDate stockLevelValidityEndDate, @Nonnull BigDecimal productSafetyStockLvlQuantity, @Nonnull BigDecimal reorderThresholdQuantity, @Nonnull BigDecimal productMaxStockLevelQuantity, @Nonnull BigDecimal productTargetStockLvlQuantity, @Nonnull String unitOfMeasure, @Nonnull String unitOfMeasureISOCode, @Nonnull BigDecimal targetSupplyDurationInDays, @Nonnull BigDecimal maxSupplyDurationInDays, @Nonnull BigDecimal safetySupplyDurationInDays)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      targetSupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: TargetSupplyDurationInDays

      product - Constraints: Not nullable, Maximum length: 40

      Original parameter name from the Odata EDM: Product

      mRPArea - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: MRPArea

      unitOfMeasure - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: UnitOfMeasure

      stockLevelValidityStartDate - Constraints: Nullable

      Original parameter name from the Odata EDM: StockLevelValidityStartDate

      stockLevelValidityEndDate - Constraints: Nullable

      Original parameter name from the Odata EDM: StockLevelValidityEndDate

      safetySupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: SafetySupplyDurationInDays

      productMaxStockLevelQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductMaxStockLevelQuantity

      productSafetyStockLvlQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductSafetyStockLvlQuantity

      maxSupplyDurationInDays - Constraints: Not nullable, Precision: 6, Scale: 2

      Original parameter name from the Odata EDM: MaxSupplyDurationInDays

      unitOfMeasureISOCode - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: UnitOfMeasureISOCode

      productTargetStockLvlQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ProductTargetStockLvlQuantity

      plant - Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: Plant

      reorderThresholdQuantity - Constraints: Not nullable, Precision: 13, Scale: 3

      Original parameter name from the Odata EDM: ReorderThresholdQuantity

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static ProdTimeDepdntStockLvl.ProdTimeDepdntStockLvlBuilder builder()
    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getMRPArea

      @Nullable public String getMRPArea()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MRPArea

      Returns:
      MRP Area
    • getStockLevelValidityStartDate

      @Nullable public LocalDate getStockLevelValidityStartDate()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: StockLevelValidityStartDate

      Returns:
      Valid-From Date
    • getStockLevelValidityEndDate

      @Nullable public LocalDate getStockLevelValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: StockLevelValidityEndDate

      Returns:
      Valid-To Date
    • getProductSafetyStockLvlQuantity

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

      Original property name from the Odata EDM: ProductSafetyStockLvlQuantity

      Returns:
      Safety Stock
    • getReorderThresholdQuantity

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

      Original property name from the Odata EDM: ReorderThresholdQuantity

      Returns:
      Reorder Point
    • getProductMaxStockLevelQuantity

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

      Original property name from the Odata EDM: ProductMaxStockLevelQuantity

      Returns:
      Maximum Stock Level
    • getProductTargetStockLvlQuantity

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

      Original property name from the Odata EDM: ProductTargetStockLvlQuantity

      Returns:
      Target Stock Level
    • getUnitOfMeasure

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

      Original property name from the Odata EDM: UnitOfMeasure

      Returns:
      Base Unit of Measure
    • getUnitOfMeasureISOCode

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

      Original property name from the Odata EDM: UnitOfMeasureISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getTargetSupplyDurationInDays

      @Nullable public BigDecimal getTargetSupplyDurationInDays()
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: TargetSupplyDurationInDays

      Returns:
      Target Days of Supply in Workdays
    • getMaxSupplyDurationInDays

      @Nullable public BigDecimal getMaxSupplyDurationInDays()
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: MaxSupplyDurationInDays

      Returns:
      Maximum Days of Supply in Workdays
    • getSafetySupplyDurationInDays

      @Nullable public BigDecimal getSafetySupplyDurationInDays()
      Constraints: Not nullable, Precision: 6, Scale: 2

      Original property name from the Odata EDM: SafetySupplyDurationInDays

      Returns:
      Safety Days of Supply in Workdays
    • getStockLevelProposalID

      @Nullable public String getStockLevelProposalID()
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: StockLevelProposalID

      Returns:
      Proposal Id
    • getProposalVersion

      @Nullable public String getProposalVersion()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProposalVersion

      Returns:
      Proposal Version
    • getProposalStartDate

      @Nullable public LocalDate getProposalStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ProposalStartDate

      Returns:
      Proposal Validity From Date
    • getChangeMode

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

      Original property name from the Odata EDM: ChangeMode

      Returns:
      Mode of change
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getCreationDateTime

      @Nullable public OffsetDateTime getCreationDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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