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

public class PurchaseOrderScheduleLine extends VdmEntity<PurchaseOrderScheduleLine> implements VdmEntitySet
Schedule Lines

Original entity name from the Odata EDM: PurchaseOrderScheduleLine_Type

  • Field Details

  • Constructor Details

    • PurchaseOrderScheduleLine

      public PurchaseOrderScheduleLine()
    • PurchaseOrderScheduleLine

      public PurchaseOrderScheduleLine(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String scheduleLine, @Nullable LocalDate scheduleLineDeliveryDate, @Nullable LocalDate schedLineStscDeliveryDate, @Nullable LocalDate performancePeriodStartDate, @Nullable LocalDate performancePeriodEndDate, @Nullable LocalTime scheduleLineDeliveryTime, @Nullable String batch, @Nullable String batchBySupplier, @Nullable BigDecimal scheduleLineOrderQuantity, @Nullable BigDecimal openPurchaseOrderQuantity, @Nullable String purchaseOrderQuantityUnit, @Nullable String currency, @Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String delivDateCategory, @Nullable LocalDate scheduleLineOrderDate, @Nullable LocalDate productAvailabilityDate, @Nullable LocalDate loadingDate, @Nullable LocalTime loadingTime, @Nullable LocalDate transportationPlanningDate, @Nullable LocalTime transportationPlanningTime, @Nullable LocalDate goodsIssueDate, @Nullable LocalTime goodsIssueTime, @Nullable String routeSchedule, @Nullable LocalTime productAvailabilityTime, @Nullable PurchaseOrder to_PurchaseOrder, @Nullable PurchaseOrderItem to_PurchaseOrderItem, List<POSubcontractingComponent> to_SubcontractingComponent)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseOrder

      Parameters:
      purchaseOrder - Purchasing Document Number
    • setPurchaseOrderItem

      public void setPurchaseOrderItem(@Nullable String purchaseOrderItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseOrderItem

      Parameters:
      purchaseOrderItem - Item Number of Purchasing Document
    • setScheduleLine

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

      Original property name from the Odata EDM: ScheduleLine

      Parameters:
      scheduleLine - Delivery Schedule Line Counter
    • setScheduleLineDeliveryDate

      public void setScheduleLineDeliveryDate(@Nullable LocalDate scheduleLineDeliveryDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ScheduleLineDeliveryDate

      Parameters:
      scheduleLineDeliveryDate - Item Delivery Date
    • setSchedLineStscDeliveryDate

      public void setSchedLineStscDeliveryDate(@Nullable LocalDate schedLineStscDeliveryDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SchedLineStscDeliveryDate

      Parameters:
      schedLineStscDeliveryDate - Statistics-Relevant Delivery Date
    • setPerformancePeriodStartDate

      public void setPerformancePeriodStartDate(@Nullable LocalDate performancePeriodStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodStartDate

      Parameters:
      performancePeriodStartDate - Start Date for Period of Performance
    • setPerformancePeriodEndDate

      public void setPerformancePeriodEndDate(@Nullable LocalDate performancePeriodEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodEndDate

      Parameters:
      performancePeriodEndDate - End Date for Period of Performance
    • setScheduleLineDeliveryTime

      public void setScheduleLineDeliveryTime(@Nullable LocalTime scheduleLineDeliveryTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: ScheduleLineDeliveryTime

      Parameters:
      scheduleLineDeliveryTime - Delivery Date Time-Spot
    • setBatch

      public void setBatch(@Nullable String batch)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Parameters:
      batch - Batch Number
    • setBatchBySupplier

      public void setBatchBySupplier(@Nullable String batchBySupplier)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BatchBySupplier

      Parameters:
      batchBySupplier - Supplier Batch Number
    • setScheduleLineOrderQuantity

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

      Original property name from the Odata EDM: ScheduleLineOrderQuantity

      Parameters:
      scheduleLineOrderQuantity - Scheduled Quantity
    • setOpenPurchaseOrderQuantity

      public void setOpenPurchaseOrderQuantity(@Nullable BigDecimal openPurchaseOrderQuantity)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: OpenPurchaseOrderQuantity

      Parameters:
      openPurchaseOrderQuantity - The openPurchaseOrderQuantity to set.
    • setPurchaseOrderQuantityUnit

      public void setPurchaseOrderQuantityUnit(@Nullable String purchaseOrderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Parameters:
      purchaseOrderQuantityUnit - Purchase Order Unit of Measure
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setPurchaseRequisition

      public void setPurchaseRequisition(@Nullable String purchaseRequisition)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchaseRequisition

      Parameters:
      purchaseRequisition - Purchase Requisition Number
    • setPurchaseRequisitionItem

      public void setPurchaseRequisitionItem(@Nullable String purchaseRequisitionItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition
    • setDelivDateCategory

      public void setDelivDateCategory(@Nullable String delivDateCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DelivDateCategory

      Parameters:
      delivDateCategory - Category of delivery date
    • setScheduleLineOrderDate

      public void setScheduleLineOrderDate(@Nullable LocalDate scheduleLineOrderDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ScheduleLineOrderDate

      Parameters:
      scheduleLineOrderDate - Order date of schedule line
    • setProductAvailabilityDate

      public void setProductAvailabilityDate(@Nullable LocalDate productAvailabilityDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ProductAvailabilityDate

      Parameters:
      productAvailabilityDate - Material Staging/Availability Date
    • setLoadingDate

      public void setLoadingDate(@Nullable LocalDate loadingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: LoadingDate

      Parameters:
      loadingDate - Loading Date
    • setLoadingTime

      public void setLoadingTime(@Nullable LocalTime loadingTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: LoadingTime

      Parameters:
      loadingTime - Loading Time (Local Time Relating to a Shipping Point)
    • setTransportationPlanningDate

      public void setTransportationPlanningDate(@Nullable LocalDate transportationPlanningDate)
      Constraints: Nullable

      Original property name from the Odata EDM: TransportationPlanningDate

      Parameters:
      transportationPlanningDate - Transportation Planning Date
    • setTransportationPlanningTime

      public void setTransportationPlanningTime(@Nullable LocalTime transportationPlanningTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationPlanningTime

      Parameters:
      transportationPlanningTime - Transp. Planning Time (Local, Relating to a Shipping Point)
    • setGoodsIssueDate

      public void setGoodsIssueDate(@Nullable LocalDate goodsIssueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: GoodsIssueDate

      Parameters:
      goodsIssueDate - Goods Issue Date
    • setGoodsIssueTime

      public void setGoodsIssueTime(@Nullable LocalTime goodsIssueTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: GoodsIssueTime

      Parameters:
      goodsIssueTime - Time of Goods Issue (Local, Relating to a Plant)
    • setRouteSchedule

      public void setRouteSchedule(@Nullable String routeSchedule)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RouteSchedule

      Parameters:
      routeSchedule - Route Schedule
    • setProductAvailabilityTime

      public void setProductAvailabilityTime(@Nullable LocalTime productAvailabilityTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProductAvailabilityTime

      Parameters:
      productAvailabilityTime - Material Staging Time (Local, Relating to a Plant)
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity PurchaseOrderScheduleLine 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 _PurchaseOrder is already loaded, the result will contain the PurchaseOrder entity. If not, an Option with result state empty is returned.
    • setPurchaseOrder

      public void setPurchaseOrder(PurchaseOrder value)
      Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.
      Parameters:
      value - New PurchaseOrder entity.
    • getPurchaseOrderItemIfPresent

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

      If the navigation property for an entity PurchaseOrderScheduleLine 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 _PurchaseOrderItem is already loaded, the result will contain the PurchaseOrderItem entity. If not, an Option with result state empty is returned.
    • setPurchaseOrderItem

      public void setPurchaseOrderItem(PurchaseOrderItem value)
      Overwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.
      Parameters:
      value - New PurchaseOrderItem entity.
    • getSubcontractingComponentIfPresent

      @Nonnull public io.vavr.control.Option<List<POSubcontractingComponent>> getSubcontractingComponentIfPresent()
      Retrieval of associated POSubcontractingComponent entities (one to many). This corresponds to the OData navigation property _SubcontractingComponent.

      If the navigation property for an entity PurchaseOrderScheduleLine 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 _SubcontractingComponent is already loaded, the result will contain the POSubcontractingComponent entities. If not, an Option with result state empty is returned.
    • setSubcontractingComponent

      public void setSubcontractingComponent(@Nonnull List<POSubcontractingComponent> value)
      Overwrites the list of associated POSubcontractingComponent entities for the loaded navigation property _SubcontractingComponent.

      If the navigation property _SubcontractingComponent of a queried PurchaseOrderScheduleLine is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of POSubcontractingComponent entities.
    • addSubcontractingComponent

      public void addSubcontractingComponent(POSubcontractingComponent... entity)
      Adds elements to the list of associated POSubcontractingComponent entities. This corresponds to the OData navigation property _SubcontractingComponent.

      If the navigation property _SubcontractingComponent of a queried PurchaseOrderScheduleLine is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of POSubcontractingComponent entities.
    • builder

    • getPurchaseOrder

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

      Original property name from the Odata EDM: PurchaseOrder

      Returns:
      Purchasing Document Number
    • getPurchaseOrderItem

      @Nullable public String getPurchaseOrderItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseOrderItem

      Returns:
      Item Number of Purchasing Document
    • getScheduleLine

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

      Original property name from the Odata EDM: ScheduleLine

      Returns:
      Delivery Schedule Line Counter
    • getScheduleLineDeliveryDate

      @Nullable public LocalDate getScheduleLineDeliveryDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ScheduleLineDeliveryDate

      Returns:
      Item Delivery Date
    • getSchedLineStscDeliveryDate

      @Nullable public LocalDate getSchedLineStscDeliveryDate()
      Constraints: Nullable

      Original property name from the Odata EDM: SchedLineStscDeliveryDate

      Returns:
      Statistics-Relevant Delivery Date
    • getPerformancePeriodStartDate

      @Nullable public LocalDate getPerformancePeriodStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodStartDate

      Returns:
      Start Date for Period of Performance
    • getPerformancePeriodEndDate

      @Nullable public LocalDate getPerformancePeriodEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: PerformancePeriodEndDate

      Returns:
      End Date for Period of Performance
    • getScheduleLineDeliveryTime

      @Nullable public LocalTime getScheduleLineDeliveryTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: ScheduleLineDeliveryTime

      Returns:
      Delivery Date Time-Spot
    • getBatch

      @Nullable public String getBatch()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • getBatchBySupplier

      @Nullable public String getBatchBySupplier()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: BatchBySupplier

      Returns:
      Supplier Batch Number
    • getScheduleLineOrderQuantity

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

      Original property name from the Odata EDM: ScheduleLineOrderQuantity

      Returns:
      Scheduled Quantity
    • getOpenPurchaseOrderQuantity

      @Nullable public BigDecimal getOpenPurchaseOrderQuantity()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: OpenPurchaseOrderQuantity

      Returns:
      The openPurchaseOrderQuantity contained in this VdmEntity.
    • getPurchaseOrderQuantityUnit

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

      Original property name from the Odata EDM: PurchaseOrderQuantityUnit

      Returns:
      Purchase Order Unit of Measure
    • getCurrency

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

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getPurchaseRequisition

      @Nullable public String getPurchaseRequisition()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchaseRequisition

      Returns:
      Purchase Requisition Number
    • getPurchaseRequisitionItem

      @Nullable public String getPurchaseRequisitionItem()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Returns:
      Item number of purchase requisition
    • getDelivDateCategory

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

      Original property name from the Odata EDM: DelivDateCategory

      Returns:
      Category of delivery date
    • getScheduleLineOrderDate

      @Nullable public LocalDate getScheduleLineOrderDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ScheduleLineOrderDate

      Returns:
      Order date of schedule line
    • getProductAvailabilityDate

      @Nullable public LocalDate getProductAvailabilityDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ProductAvailabilityDate

      Returns:
      Material Staging/Availability Date
    • getLoadingDate

      @Nullable public LocalDate getLoadingDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LoadingDate

      Returns:
      Loading Date
    • getLoadingTime

      @Nullable public LocalTime getLoadingTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: LoadingTime

      Returns:
      Loading Time (Local Time Relating to a Shipping Point)
    • getTransportationPlanningDate

      @Nullable public LocalDate getTransportationPlanningDate()
      Constraints: Nullable

      Original property name from the Odata EDM: TransportationPlanningDate

      Returns:
      Transportation Planning Date
    • getTransportationPlanningTime

      @Nullable public LocalTime getTransportationPlanningTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationPlanningTime

      Returns:
      Transp. Planning Time (Local, Relating to a Shipping Point)
    • getGoodsIssueDate

      @Nullable public LocalDate getGoodsIssueDate()
      Constraints: Nullable

      Original property name from the Odata EDM: GoodsIssueDate

      Returns:
      Goods Issue Date
    • getGoodsIssueTime

      @Nullable public LocalTime getGoodsIssueTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: GoodsIssueTime

      Returns:
      Time of Goods Issue (Local, Relating to a Plant)
    • getRouteSchedule

      @Nullable public String getRouteSchedule()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RouteSchedule

      Returns:
      Route Schedule
    • getProductAvailabilityTime

      @Nullable public LocalTime getProductAvailabilityTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProductAvailabilityTime

      Returns:
      Material Staging Time (Local, Relating to a Plant)
    • toString

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

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

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

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

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