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

public class WarehouseOrder extends VdmEntity<WarehouseOrder> implements VdmEntitySet
Warehouse Order

Original entity name from the Odata EDM: WarehouseOrderType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: EWMWarehouse

      Parameters:
      eWMWarehouse - Warehouse Number/Warehouse Complex
    • setWarehouseOrder

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

      Original property name from the Odata EDM: WarehouseOrder

      Parameters:
      warehouseOrder - Warehouse Order Number
    • setWarehouseOrderStatus

      public void setWarehouseOrderStatus(@Nullable String warehouseOrderStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WarehouseOrderStatus

      Parameters:
      warehouseOrderStatus - Warehouse Order Status
    • setWhseOrderCreationDateTime

      public void setWhseOrderCreationDateTime(@Nullable OffsetDateTime whseOrderCreationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderCreationDateTime

      Parameters:
      whseOrderCreationDateTime - Creation Time
    • setWarehouseOrderStartDateTime

      public void setWarehouseOrderStartDateTime(@Nullable OffsetDateTime warehouseOrderStartDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: WarehouseOrderStartDateTime

      Parameters:
      warehouseOrderStartDateTime - Start Time
    • setWhseOrderConfirmedDateTime

      public void setWhseOrderConfirmedDateTime(@Nullable OffsetDateTime whseOrderConfirmedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderConfirmedDateTime

      Parameters:
      whseOrderConfirmedDateTime - Time of Confirmation
    • setWhseOrderLastChgUTCDateTime

      public void setWhseOrderLastChgUTCDateTime(@Nullable OffsetDateTime whseOrderLastChgUTCDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderLastChgUTCDateTime

      Parameters:
      whseOrderLastChgUTCDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • setWhseOrderLatestStartDateTime

      public void setWhseOrderLatestStartDateTime(@Nullable OffsetDateTime whseOrderLatestStartDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderLatestStartDateTime

      Parameters:
      whseOrderLatestStartDateTime - Latest Starting Date (LSD)
    • setWarehouseOrderCreationRule

      public void setWarehouseOrderCreationRule(@Nullable String warehouseOrderCreationRule)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: WarehouseOrderCreationRule

      Parameters:
      warehouseOrderCreationRule - Warehouse Order Creation Rule
    • setWhseOrderCreationRuleCategory

      public void setWhseOrderCreationRuleCategory(@Nullable String whseOrderCreationRuleCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: WhseOrderCreationRuleCategory

      Parameters:
      whseOrderCreationRuleCategory - Category of Warehouse Order Creation Rule
    • setActivityArea

      public void setActivityArea(@Nullable String activityArea)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ActivityArea

      Parameters:
      activityArea - Activity Area
    • setQueue

      public void setQueue(@Nullable String queue)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Queue

      Parameters:
      queue - Queue
    • setProcessor

      public void setProcessor(@Nullable String processor)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: Processor

      Parameters:
      processor - Processor
    • setExecutingResource

      public void setExecutingResource(@Nullable String executingResource)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ExecutingResource

      Parameters:
      executingResource - Resource (Means of Transportation or User)
    • setWhseProcessTypeDocumentHdr

      public void setWhseProcessTypeDocumentHdr(@Nullable String whseProcessTypeDocumentHdr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: WhseProcessTypeDocumentHdr

      Parameters:
      whseProcessTypeDocumentHdr - Document Header Warehouse Process Type
    • setCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By
    • setLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Changed By
    • setConfirmedByUser

      public void setConfirmedByUser(@Nullable String confirmedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ConfirmedByUser

      Parameters:
      confirmedByUser - Confirmed By
    • setWhseOrderForSplitWhseOrder

      public void setWhseOrderForSplitWhseOrder(@Nullable String whseOrderForSplitWhseOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: WhseOrderForSplitWhseOrder

      Parameters:
      whseOrderForSplitWhseOrder - Warehouse Order Number of WO That Was Split
    • setWarehouseOrderIsSplit

      public void setWarehouseOrderIsSplit(@Nullable Boolean warehouseOrderIsSplit)
      Constraints: Not nullable

      Original property name from the Odata EDM: WarehouseOrderIsSplit

      Parameters:
      warehouseOrderIsSplit - Warehouse Order Was Split
    • setWarehouseOrderPlannedDuration

      public void setWarehouseOrderPlannedDuration(@Nullable BigDecimal warehouseOrderPlannedDuration)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: WarehouseOrderPlannedDuration

      Parameters:
      warehouseOrderPlannedDuration - Planned Execution Time of Warehouse Order
    • setWhseOrderPlanDurationTimeUnit

      public void setWhseOrderPlanDurationTimeUnit(@Nullable String whseOrderPlanDurationTimeUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: WhseOrderPlanDurationTimeUnit

      Parameters:
      whseOrderPlanDurationTimeUnit - Warehouse Order: Time Unit
    • 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<WarehouseOrder>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity WarehouseOrder 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 _WarehouseOrderPickHndlgUnit is already loaded, the result will contain the WarehouseOrderPickHndlgUnit entities. If not, an Option with result state empty is returned.
    • setWarehouseOrderPickHndlgUnit

      public void setWarehouseOrderPickHndlgUnit(@Nonnull List<WarehouseOrderPickHndlgUnit> value)
      Overwrites the list of associated WarehouseOrderPickHndlgUnit entities for the loaded navigation property _WarehouseOrderPickHndlgUnit.

      If the navigation property _WarehouseOrderPickHndlgUnit of a queried WarehouseOrder 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 WarehouseOrderPickHndlgUnit entities.
    • addWarehouseOrderPickHndlgUnit

      public void addWarehouseOrderPickHndlgUnit(WarehouseOrderPickHndlgUnit... entity)
      Adds elements to the list of associated WarehouseOrderPickHndlgUnit entities. This corresponds to the OData navigation property _WarehouseOrderPickHndlgUnit.

      If the navigation property _WarehouseOrderPickHndlgUnit of a queried WarehouseOrder 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 WarehouseOrderPickHndlgUnit entities.
    • getWarehouseTaskIfPresent

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

      If the navigation property for an entity WarehouseOrder 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 _WarehouseTask is already loaded, the result will contain the WarehouseTask entities. If not, an Option with result state empty is returned.
    • setWarehouseTask

      public void setWarehouseTask(@Nonnull List<WarehouseTask> value)
      Overwrites the list of associated WarehouseTask entities for the loaded navigation property _WarehouseTask.

      If the navigation property _WarehouseTask of a queried WarehouseOrder 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 WarehouseTask entities.
    • addWarehouseTask

      public void addWarehouseTask(WarehouseTask... entity)
      Adds elements to the list of associated WarehouseTask entities. This corresponds to the OData navigation property _WarehouseTask.

      If the navigation property _WarehouseTask of a queried WarehouseOrder 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 WarehouseTask entities.
    • assignWarehouseOrder

      @Nonnull public static BoundAction.SingleToSingle<WarehouseOrder,Void> assignWarehouseOrder(@Nonnull String eWMResource)
      Action that can be applied to any entity object of this class.

      Parameters:
      eWMResource - Constraints: Not nullable, Maximum length: 18

      Original parameter name from the Odata EDM: EWMResource

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

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

      @Nonnull public static BoundAction.SingleToSingle<WarehouseOrder,Void> setWarehouseOrderToInProcess()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

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

      @Nonnull public static BoundAction.SingleToSingle<WarehouseOrder,Void> unassignWarehouseOrder()
      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

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

      @Nonnull public static WarehouseOrder.WarehouseOrderBuilder builder()
    • getEWMWarehouse

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

      Original property name from the Odata EDM: EWMWarehouse

      Returns:
      Warehouse Number/Warehouse Complex
    • getWarehouseOrder

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

      Original property name from the Odata EDM: WarehouseOrder

      Returns:
      Warehouse Order Number
    • getWarehouseOrderStatus

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

      Original property name from the Odata EDM: WarehouseOrderStatus

      Returns:
      Warehouse Order Status
    • getWhseOrderCreationDateTime

      @Nullable public OffsetDateTime getWhseOrderCreationDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderCreationDateTime

      Returns:
      Creation Time
    • getWarehouseOrderStartDateTime

      @Nullable public OffsetDateTime getWarehouseOrderStartDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: WarehouseOrderStartDateTime

      Returns:
      Start Time
    • getWhseOrderConfirmedDateTime

      @Nullable public OffsetDateTime getWhseOrderConfirmedDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderConfirmedDateTime

      Returns:
      Time of Confirmation
    • getWhseOrderLastChgUTCDateTime

      @Nullable public OffsetDateTime getWhseOrderLastChgUTCDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderLastChgUTCDateTime

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

      @Nullable public OffsetDateTime getWhseOrderLatestStartDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: WhseOrderLatestStartDateTime

      Returns:
      Latest Starting Date (LSD)
    • getWarehouseOrderCreationRule

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

      Original property name from the Odata EDM: WarehouseOrderCreationRule

      Returns:
      Warehouse Order Creation Rule
    • getWhseOrderCreationRuleCategory

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

      Original property name from the Odata EDM: WhseOrderCreationRuleCategory

      Returns:
      Category of Warehouse Order Creation Rule
    • getActivityArea

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

      Original property name from the Odata EDM: ActivityArea

      Returns:
      Activity Area
    • getQueue

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

      Original property name from the Odata EDM: Queue

      Returns:
      Queue
    • getProcessor

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

      Original property name from the Odata EDM: Processor

      Returns:
      Processor
    • getExecutingResource

      @Nullable public String getExecutingResource()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ExecutingResource

      Returns:
      Resource (Means of Transportation or User)
    • getWhseProcessTypeDocumentHdr

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

      Original property name from the Odata EDM: WhseProcessTypeDocumentHdr

      Returns:
      Document Header Warehouse Process Type
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Changed By
    • getConfirmedByUser

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

      Original property name from the Odata EDM: ConfirmedByUser

      Returns:
      Confirmed By
    • getWhseOrderForSplitWhseOrder

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

      Original property name from the Odata EDM: WhseOrderForSplitWhseOrder

      Returns:
      Warehouse Order Number of WO That Was Split
    • getWarehouseOrderIsSplit

      @Nullable public Boolean getWarehouseOrderIsSplit()
      Constraints: Not nullable

      Original property name from the Odata EDM: WarehouseOrderIsSplit

      Returns:
      Warehouse Order Was Split
    • getWarehouseOrderPlannedDuration

      @Nullable public BigDecimal getWarehouseOrderPlannedDuration()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: WarehouseOrderPlannedDuration

      Returns:
      Planned Execution Time of Warehouse Order
    • getWhseOrderPlanDurationTimeUnit

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

      Original property name from the Odata EDM: WhseOrderPlanDurationTimeUnit

      Returns:
      Warehouse Order: Time Unit
    • 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<WarehouseOrder>
    • equals

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

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

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

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