Class WarehouseOrder
Original entity name from the Odata EDM: WarehouseOrderType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WarehouseOrder instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WarehouseOrderSelectableSelector for all available fields of WarehouseOrder.static final WarehouseOrderField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final WarehouseOrderField<String>Use with available fluent helpers to apply the ExecutingResource field to query operations.static final WarehouseOrderField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final WarehouseOrderLink<WarehouseTask>Use with available fluent helpers to apply the to_WarehouseTask navigation property to query operations.static final WarehouseOrderField<String>Use with available fluent helpers to apply the Warehouse field to query operations.static final WarehouseOrderField<String>Use with available fluent helpers to apply the WarehouseOrder field to query operations.static final WarehouseOrderField<ZonedDateTime>Use with available fluent helpers to apply the WarehouseOrderStartDateTime field to query operations.static final WarehouseOrderField<String>Use with available fluent helpers to apply the WarehouseOrderStatus field to query operations.static final WarehouseOrderField<String>Use with available fluent helpers to apply the WarehouseOrderStatusName field to query operations.static final WarehouseOrderField<ZonedDateTime>Use with available fluent helpers to apply the WhseOrderConfirmedDateTime field to query operations.static final WarehouseOrderField<ZonedDateTime>Use with available fluent helpers to apply the WhseOrderLatestStartDateTime field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionWarehouseOrder(String warehouse, String warehouseOrder, String warehouseOrderStatus, String warehouseOrderStatusName, ZonedDateTime creationDateTime, ZonedDateTime warehouseOrderStartDateTime, ZonedDateTime whseOrderConfirmedDateTime, ZonedDateTime lastChangeDateTime, ZonedDateTime whseOrderLatestStartDateTime, String executingResource, List<WarehouseTask> toWarehouseTask) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWarehouseTask(WarehouseTask... entity) Adds elements to the list of associated WarehouseTask entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the WarehouseTask entities (one to many) associated with this entity.static <T,DomainT>
WarehouseOrderField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WarehouseOrderField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 0protected Stringprotected StringConstraints: Not nullable, Maximum length: 18getKey()Constraints: Not nullable, Precision: 0getType()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<WarehouseTask>>Retrieval of associated WarehouseTask entities (one to many).Retrieval of associated WarehouseTask entities (one to many).Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 0voidsetExecutingResource(String executingResource) Constraints: Not nullable, Maximum length: 18voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWarehouse(String warehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWarehouseOrder(String warehouseOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWarehouseOrderStartDateTime(ZonedDateTime warehouseOrderStartDateTime) Constraints: Not nullable, Precision: 0voidsetWarehouseOrderStatus(String warehouseOrderStatus) Constraints: Not nullable, Maximum length: 1voidsetWarehouseOrderStatusName(String warehouseOrderStatusName) Constraints: Not nullable, Maximum length: 60voidsetWarehouseTask(List<WarehouseTask> value) Overwrites the list of associated WarehouseTask entities for the loaded navigation property to_WarehouseTask.voidsetWhseOrderConfirmedDateTime(ZonedDateTime whseOrderConfirmedDateTime) Constraints: Not nullable, Precision: 0voidsetWhseOrderLatestStartDateTime(ZonedDateTime whseOrderLatestStartDateTime) Constraints: Not nullable, Precision: 0toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WarehouseOrder. -
WAREHOUSE
Use with available fluent helpers to apply the Warehouse field to query operations. -
WAREHOUSE_ORDER
Use with available fluent helpers to apply the WarehouseOrder field to query operations. -
WAREHOUSE_ORDER_STATUS
Use with available fluent helpers to apply the WarehouseOrderStatus field to query operations. -
WAREHOUSE_ORDER_STATUS_NAME
Use with available fluent helpers to apply the WarehouseOrderStatusName field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
WAREHOUSE_ORDER_START_DATE_TIME
Use with available fluent helpers to apply the WarehouseOrderStartDateTime field to query operations. -
WHSE_ORDER_CONFIRMED_DATE_TIME
Use with available fluent helpers to apply the WhseOrderConfirmedDateTime field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
WHSE_ORDER_LATEST_START_DATE_TIME
Use with available fluent helpers to apply the WhseOrderLatestStartDateTime field to query operations. -
EXECUTING_RESOURCE
Use with available fluent helpers to apply the ExecutingResource field to query operations. -
TO_WAREHOUSE_TASK
Use with available fluent helpers to apply the to_WarehouseTask navigation property to query operations.
-
-
Constructor Details
-
WarehouseOrder
public WarehouseOrder() -
WarehouseOrder
public WarehouseOrder(@Nullable String warehouse, @Nullable String warehouseOrder, @Nullable String warehouseOrderStatus, @Nullable String warehouseOrderStatusName, @Nullable ZonedDateTime creationDateTime, @Nullable ZonedDateTime warehouseOrderStartDateTime, @Nullable ZonedDateTime whseOrderConfirmedDateTime, @Nullable ZonedDateTime lastChangeDateTime, @Nullable ZonedDateTime whseOrderLatestStartDateTime, @Nullable String executingResource, List<WarehouseTask> toWarehouseTask)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WarehouseOrder>
-
setWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Parameters:
warehouse- Warehouse Number/Warehouse Complex
-
setWarehouseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseOrder
- Parameters:
warehouseOrder- Warehouse Order Number
-
setWarehouseOrderStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WarehouseOrderStatus
- Parameters:
warehouseOrderStatus- Warehouse Order Status
-
setWarehouseOrderStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WarehouseOrderStatusName
- Parameters:
warehouseOrderStatusName- Short Text for Fixed Values
-
setCreationDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Creation Time
-
setWarehouseOrderStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WarehouseOrderStartDateTime
- Parameters:
warehouseOrderStartDateTime- Start Time
-
setWhseOrderConfirmedDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WhseOrderConfirmedDateTime
- Parameters:
whseOrderConfirmedDateTime- Time of Confirmation
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Time of Change
-
setWhseOrderLatestStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WhseOrderLatestStartDateTime
- Parameters:
whseOrderLatestStartDateTime- Latest Starting Date (LSD)
-
setExecutingResource
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ExecutingResource
- Parameters:
executingResource- Resource (Means of Transportation or User)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WarehouseOrder>
-
getKey
- Overrides:
getKeyin classVdmObject<WarehouseOrder>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WarehouseOrder>
-
fromMap
- Overrides:
fromMapin classVdmObject<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<WarehouseOrder>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WarehouseOrder>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WarehouseOrder>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WarehouseOrder>
-
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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_WarehouseTask is already loaded, the result will
contain the WarehouseTask entities. If not, an
Optionwith result stateemptyis returned.
-
setWarehouseTask
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
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
-
getWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getWarehouseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseOrder
- Returns:
- Warehouse Order Number
-
getWarehouseOrderStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WarehouseOrderStatus
- Returns:
- Warehouse Order Status
-
getWarehouseOrderStatusName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WarehouseOrderStatusName
- Returns:
- Short Text for Fixed Values
-
getCreationDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDateTime
- Returns:
- Creation Time
-
getWarehouseOrderStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WarehouseOrderStartDateTime
- Returns:
- Start Time
-
getWhseOrderConfirmedDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WhseOrderConfirmedDateTime
- Returns:
- Time of Confirmation
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Time of Change
-
getWhseOrderLatestStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: WhseOrderLatestStartDateTime
- Returns:
- Latest Starting Date (LSD)
-
getExecutingResource
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ExecutingResource
- Returns:
- Resource (Means of Transportation or User)
-
toString
- Overrides:
toStringin classVdmObject<WarehouseOrder>
-
equals
- Overrides:
equalsin classVdmEntity<WarehouseOrder>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WarehouseOrder>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WarehouseOrder>
-