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

public class WarehouseOrder extends VdmEntity<WarehouseOrder>
Warehouse Order

Original entity name from the Odata EDM: WarehouseOrderType

  • Field Details

    • ALL_FIELDS

      public static final WarehouseOrderSelectable ALL_FIELDS
      Selector for all available fields of WarehouseOrder.
    • WAREHOUSE

      public static final WarehouseOrderField<String> WAREHOUSE
      Use with available fluent helpers to apply the Warehouse field to query operations.
    • WAREHOUSE_ORDER

      public static final WarehouseOrderField<String> WAREHOUSE_ORDER
      Use with available fluent helpers to apply the WarehouseOrder field to query operations.
    • WAREHOUSE_ORDER_STATUS

      public static final WarehouseOrderField<String> WAREHOUSE_ORDER_STATUS
      Use with available fluent helpers to apply the WarehouseOrderStatus field to query operations.
    • WAREHOUSE_ORDER_STATUS_NAME

      public static final WarehouseOrderField<String> WAREHOUSE_ORDER_STATUS_NAME
      Use with available fluent helpers to apply the WarehouseOrderStatusName field to query operations.
    • CREATION_DATE_TIME

      public static final WarehouseOrderField<ZonedDateTime> CREATION_DATE_TIME
      Use with available fluent helpers to apply the CreationDateTime field to query operations.
    • WAREHOUSE_ORDER_START_DATE_TIME

      public static final WarehouseOrderField<ZonedDateTime> WAREHOUSE_ORDER_START_DATE_TIME
      Use with available fluent helpers to apply the WarehouseOrderStartDateTime field to query operations.
    • WHSE_ORDER_CONFIRMED_DATE_TIME

      public static final WarehouseOrderField<ZonedDateTime> WHSE_ORDER_CONFIRMED_DATE_TIME
      Use with available fluent helpers to apply the WhseOrderConfirmedDateTime field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final WarehouseOrderField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • WHSE_ORDER_LATEST_START_DATE_TIME

      public static final WarehouseOrderField<ZonedDateTime> WHSE_ORDER_LATEST_START_DATE_TIME
      Use with available fluent helpers to apply the WhseOrderLatestStartDateTime field to query operations.
    • EXECUTING_RESOURCE

      public static final WarehouseOrderField<String> EXECUTING_RESOURCE
      Use with available fluent helpers to apply the ExecutingResource field to query operations.
    • TO_WAREHOUSE_TASK

      public static final WarehouseOrderLink<WarehouseTask> TO_WAREHOUSE_TASK
      Use with available fluent helpers to apply the to_WarehouseTask navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Warehouse

      Parameters:
      warehouse - 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
    • setWarehouseOrderStatusName

      public void setWarehouseOrderStatusName(@Nullable String warehouseOrderStatusName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WarehouseOrderStatusName

      Parameters:
      warehouseOrderStatusName - Short Text for Fixed Values
    • setCreationDateTime

      public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Creation Time
    • setWarehouseOrderStartDateTime

      public void setWarehouseOrderStartDateTime(@Nullable ZonedDateTime warehouseOrderStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WarehouseOrderStartDateTime

      Parameters:
      warehouseOrderStartDateTime - Start Time
    • setWhseOrderConfirmedDateTime

      public void setWhseOrderConfirmedDateTime(@Nullable ZonedDateTime whseOrderConfirmedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WhseOrderConfirmedDateTime

      Parameters:
      whseOrderConfirmedDateTime - Time of Confirmation
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Time of Change
    • setWhseOrderLatestStartDateTime

      public void setWhseOrderLatestStartDateTime(@Nullable ZonedDateTime whseOrderLatestStartDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WhseOrderLatestStartDateTime

      Parameters:
      whseOrderLatestStartDateTime - Latest Starting Date (LSD)
    • 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)
    • getEntityCollection

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

      @Nonnull protected Map<String,Object> 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>
    • field

      @Nonnull public static <T> WarehouseOrderField<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> WarehouseOrderField<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<WarehouseOrder>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<WarehouseTask> fetchWarehouseTask()
      Fetches the WarehouseTask entities (one to many) associated with this entity. This corresponds to the OData navigation property to_WarehouseTask.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated WarehouseTask entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getWarehouseTaskOrFetch

      @Nonnull public List<WarehouseTask> getWarehouseTaskOrFetch()
      Retrieval of associated WarehouseTask entities (one to many). This corresponds to the OData navigation property to_WarehouseTask.

      If the navigation property to_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.

      Returns:
      List of associated WarehouseTask entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • 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 to_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 to_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 to_WarehouseTask.

      If the navigation property to_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 to_WarehouseTask.

      If the navigation property to_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.
    • builder

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

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

      Original property name from the Odata EDM: Warehouse

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

      @Nullable public String getWarehouseOrderStatusName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WarehouseOrderStatusName

      Returns:
      Short Text for Fixed Values
    • getCreationDateTime

      @Nullable public ZonedDateTime getCreationDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Creation Time
    • getWarehouseOrderStartDateTime

      @Nullable public ZonedDateTime getWarehouseOrderStartDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WarehouseOrderStartDateTime

      Returns:
      Start Time
    • getWhseOrderConfirmedDateTime

      @Nullable public ZonedDateTime getWhseOrderConfirmedDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WhseOrderConfirmedDateTime

      Returns:
      Time of Confirmation
    • getLastChangeDateTime

      @Nullable public ZonedDateTime getLastChangeDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Time of Change
    • getWhseOrderLatestStartDateTime

      @Nullable public ZonedDateTime getWhseOrderLatestStartDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WhseOrderLatestStartDateTime

      Returns:
      Latest Starting Date (LSD)
    • 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)
    • 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>