Class HandlingUnit
Original entity name from the Odata EDM: HandlingUnitType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of HandlingUnit instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HandlingUnitSelectableSelector for all available fields of HandlingUnit.static final HandlingUnitField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the GrossVolume field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the GrossWeight field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitExternalID field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitHeight field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitLength field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitMaxWeight field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitNetVolume field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitPackingObjectKey field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitProcessStatus field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitReferenceDocument field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitTareVolume field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitTareVolumeUnit field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitTareWeight field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the HandlingUnitTareWeightUnit field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the HandlingUnitWidth field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final HandlingUnitField<BigDecimal>Use with available fluent helpers to apply the NetWeight field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the PackagingMaterial field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the PackagingMaterialType field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the ParentHandlingUnitNumber field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the Plant field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the ShippingPoint field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the StorageBin field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the StorageLocation field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the StorageSection field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the StorageType field to query operations.static final HandlingUnitLink<HandlingUnitItem>Use with available fluent helpers to apply the to_HandlingUnitItem navigation property to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the UnitOfMeasureDimension field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the VolumeUnit field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the Warehouse field to query operations.static final HandlingUnitField<String>Use with available fluent helpers to apply the WeightUnit field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionHandlingUnit(String handlingUnitExternalID, String warehouse, String packagingMaterial, String packagingMaterialType, String plant, String storageLocation, String shippingPoint, String parentHandlingUnitNumber, BigDecimal grossWeight, BigDecimal netWeight, BigDecimal handlingUnitMaxWeight, String weightUnit, BigDecimal handlingUnitTareWeight, String handlingUnitTareWeightUnit, BigDecimal grossVolume, BigDecimal handlingUnitNetVolume, String volumeUnit, BigDecimal handlingUnitTareVolume, String handlingUnitTareVolumeUnit, BigDecimal handlingUnitLength, BigDecimal handlingUnitWidth, BigDecimal handlingUnitHeight, String unitOfMeasureDimension, String handlingUnitPackingObjectKey, String handlingUnitReferenceDocument, String createdByUser, BigDecimal creationDateTime, String lastChangedByUser, BigDecimal lastChangeDateTime, String handlingUnitProcessStatus, String storageType, String storageSection, String storageBin, List<HandlingUnitItem> toHandlingUnitItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandlingUnitItem(HandlingUnitItem... entity) Adds elements to the list of associated HandlingUnitItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the HandlingUnitItem entities (one to many) associated with this entity.static <T,DomainT>
HandlingUnitField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> HandlingUnitField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 15, Scale: 0protected Stringprotected StringConstraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Precision: 13, Scale: 3io.vavr.control.Option<List<HandlingUnitItem>>Retrieval of associated HandlingUnitItem entities (one to many).Retrieval of associated HandlingUnitItem entities (one to many).Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 13, Scale: 3getKey()Constraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 20getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(BigDecimal creationDateTime) Constraints: Not nullable, Precision: 15, Scale: 0voidsetGrossVolume(BigDecimal grossVolume) Constraints: Not nullable, Precision: 15, Scale: 3voidsetGrossWeight(BigDecimal grossWeight) Constraints: Not nullable, Precision: 15, Scale: 3voidsetHandlingUnitExternalID(String handlingUnitExternalID) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetHandlingUnitHeight(BigDecimal handlingUnitHeight) Constraints: Not nullable, Precision: 13, Scale: 3voidsetHandlingUnitItem(List<HandlingUnitItem> value) Overwrites the list of associated HandlingUnitItem entities for the loaded navigation property to_HandlingUnitItem.voidsetHandlingUnitLength(BigDecimal handlingUnitLength) Constraints: Not nullable, Precision: 13, Scale: 3voidsetHandlingUnitMaxWeight(BigDecimal handlingUnitMaxWeight) Constraints: Not nullable, Precision: 15, Scale: 3voidsetHandlingUnitNetVolume(BigDecimal handlingUnitNetVolume) Constraints: Not nullable, Precision: 15, Scale: 3voidsetHandlingUnitPackingObjectKey(String handlingUnitPackingObjectKey) Constraints: Not nullable, Maximum length: 20voidsetHandlingUnitProcessStatus(String handlingUnitProcessStatus) Constraints: Not nullable, Maximum length: 1voidsetHandlingUnitReferenceDocument(String handlingUnitReferenceDocument) Constraints: Not nullable, Maximum length: 10voidsetHandlingUnitTareVolume(BigDecimal handlingUnitTareVolume) Constraints: Not nullable, Precision: 15, Scale: 3voidsetHandlingUnitTareVolumeUnit(String handlingUnitTareVolumeUnit) Constraints: Not nullable, Maximum length: 3voidsetHandlingUnitTareWeight(BigDecimal handlingUnitTareWeight) Constraints: Not nullable, Precision: 15, Scale: 3voidsetHandlingUnitTareWeightUnit(String handlingUnitTareWeightUnit) Constraints: Not nullable, Maximum length: 3voidsetHandlingUnitWidth(BigDecimal handlingUnitWidth) Constraints: Not nullable, Precision: 13, Scale: 3voidsetLastChangeDateTime(BigDecimal lastChangeDateTime) Constraints: Not nullable, Precision: 15, Scale: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetNetWeight(BigDecimal netWeight) Constraints: Not nullable, Precision: 15, Scale: 3voidsetPackagingMaterial(String packagingMaterial) Constraints: Not nullable, Maximum length: 18voidsetPackagingMaterialType(String packagingMaterialType) Constraints: Not nullable, Maximum length: 4voidsetParentHandlingUnitNumber(String parentHandlingUnitNumber) Constraints: Not nullable, Maximum length: 20voidConstraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShippingPoint(String shippingPoint) Constraints: Not nullable, Maximum length: 4voidsetStorageBin(String storageBin) Constraints: Not nullable, Maximum length: 18voidsetStorageLocation(String storageLocation) Constraints: Not nullable, Maximum length: 4voidsetStorageSection(String storageSection) Constraints: Not nullable, Maximum length: 4voidsetStorageType(String storageType) Constraints: Not nullable, Maximum length: 4voidsetUnitOfMeasureDimension(String unitOfMeasureDimension) Constraints: Not nullable, Maximum length: 3voidsetVolumeUnit(String volumeUnit) Constraints: Not nullable, Maximum length: 3voidsetWarehouse(String warehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWeightUnit(String weightUnit) Constraints: Not nullable, Maximum length: 3toString()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 HandlingUnit. -
HANDLING_UNIT_EXTERNAL_ID
Use with available fluent helpers to apply the HandlingUnitExternalID field to query operations. -
WAREHOUSE
Use with available fluent helpers to apply the Warehouse field to query operations. -
PACKAGING_MATERIAL
Use with available fluent helpers to apply the PackagingMaterial field to query operations. -
PACKAGING_MATERIAL_TYPE
Use with available fluent helpers to apply the PackagingMaterialType field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations. -
SHIPPING_POINT
Use with available fluent helpers to apply the ShippingPoint field to query operations. -
PARENT_HANDLING_UNIT_NUMBER
Use with available fluent helpers to apply the ParentHandlingUnitNumber field to query operations. -
GROSS_WEIGHT
Use with available fluent helpers to apply the GrossWeight field to query operations. -
NET_WEIGHT
Use with available fluent helpers to apply the NetWeight field to query operations. -
HANDLING_UNIT_MAX_WEIGHT
Use with available fluent helpers to apply the HandlingUnitMaxWeight field to query operations. -
WEIGHT_UNIT
Use with available fluent helpers to apply the WeightUnit field to query operations. -
HANDLING_UNIT_TARE_WEIGHT
Use with available fluent helpers to apply the HandlingUnitTareWeight field to query operations. -
HANDLING_UNIT_TARE_WEIGHT_UNIT
Use with available fluent helpers to apply the HandlingUnitTareWeightUnit field to query operations. -
GROSS_VOLUME
Use with available fluent helpers to apply the GrossVolume field to query operations. -
HANDLING_UNIT_NET_VOLUME
Use with available fluent helpers to apply the HandlingUnitNetVolume field to query operations. -
VOLUME_UNIT
Use with available fluent helpers to apply the VolumeUnit field to query operations. -
HANDLING_UNIT_TARE_VOLUME
Use with available fluent helpers to apply the HandlingUnitTareVolume field to query operations. -
HANDLING_UNIT_TARE_VOLUME_UNIT
Use with available fluent helpers to apply the HandlingUnitTareVolumeUnit field to query operations. -
HANDLING_UNIT_LENGTH
Use with available fluent helpers to apply the HandlingUnitLength field to query operations. -
HANDLING_UNIT_WIDTH
Use with available fluent helpers to apply the HandlingUnitWidth field to query operations. -
HANDLING_UNIT_HEIGHT
Use with available fluent helpers to apply the HandlingUnitHeight field to query operations. -
UNIT_OF_MEASURE_DIMENSION
Use with available fluent helpers to apply the UnitOfMeasureDimension field to query operations. -
HANDLING_UNIT_PACKING_OBJECT_KEY
Use with available fluent helpers to apply the HandlingUnitPackingObjectKey field to query operations. -
HANDLING_UNIT_REFERENCE_DOCUMENT
Use with available fluent helpers to apply the HandlingUnitReferenceDocument field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
HANDLING_UNIT_PROCESS_STATUS
Use with available fluent helpers to apply the HandlingUnitProcessStatus field to query operations. -
STORAGE_TYPE
Use with available fluent helpers to apply the StorageType field to query operations. -
STORAGE_SECTION
Use with available fluent helpers to apply the StorageSection field to query operations. -
STORAGE_BIN
Use with available fluent helpers to apply the StorageBin field to query operations. -
TO_HANDLING_UNIT_ITEM
Use with available fluent helpers to apply the to_HandlingUnitItem navigation property to query operations.
-
-
Constructor Details
-
HandlingUnit
public HandlingUnit() -
HandlingUnit
public HandlingUnit(@Nullable String handlingUnitExternalID, @Nullable String warehouse, @Nullable String packagingMaterial, @Nullable String packagingMaterialType, @Nullable String plant, @Nullable String storageLocation, @Nullable String shippingPoint, @Nullable String parentHandlingUnitNumber, @Nullable BigDecimal grossWeight, @Nullable BigDecimal netWeight, @Nullable BigDecimal handlingUnitMaxWeight, @Nullable String weightUnit, @Nullable BigDecimal handlingUnitTareWeight, @Nullable String handlingUnitTareWeightUnit, @Nullable BigDecimal grossVolume, @Nullable BigDecimal handlingUnitNetVolume, @Nullable String volumeUnit, @Nullable BigDecimal handlingUnitTareVolume, @Nullable String handlingUnitTareVolumeUnit, @Nullable BigDecimal handlingUnitLength, @Nullable BigDecimal handlingUnitWidth, @Nullable BigDecimal handlingUnitHeight, @Nullable String unitOfMeasureDimension, @Nullable String handlingUnitPackingObjectKey, @Nullable String handlingUnitReferenceDocument, @Nullable String createdByUser, @Nullable BigDecimal creationDateTime, @Nullable String lastChangedByUser, @Nullable BigDecimal lastChangeDateTime, @Nullable String handlingUnitProcessStatus, @Nullable String storageType, @Nullable String storageSection, @Nullable String storageBin, List<HandlingUnitItem> toHandlingUnitItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<HandlingUnit>
-
setHandlingUnitExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitExternalID
- Parameters:
handlingUnitExternalID- External Handling Unit Identification
-
setWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Parameters:
warehouse- Warehouse Number/Warehouse Complex
-
setPackagingMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: PackagingMaterial
- Parameters:
packagingMaterial- Packaging Materials
-
setPackagingMaterialType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PackagingMaterialType
- Parameters:
packagingMaterialType- Packaging Material Type
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setShippingPoint
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ShippingPoint
- Parameters:
shippingPoint- Shipping Point / Receiving Point
-
setParentHandlingUnitNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ParentHandlingUnitNumber
- Parameters:
parentHandlingUnitNumber- External Handling Unit Identification
-
setGrossWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: GrossWeight
- Parameters:
grossWeight- Total Weight of Handling Unit
-
setNetWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: NetWeight
- Parameters:
netWeight- Loading Weight of Handling Unit
-
setHandlingUnitMaxWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitMaxWeight
- Parameters:
handlingUnitMaxWeight- Allowed Loading Weight of a Handling Unit
-
setWeightUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: WeightUnit
- Parameters:
weightUnit- Unit of Weight
-
setHandlingUnitTareWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitTareWeight
- Parameters:
handlingUnitTareWeight- Tare Weight of Handling Unit
-
setHandlingUnitTareWeightUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: HandlingUnitTareWeightUnit
- Parameters:
handlingUnitTareWeightUnit- Unit of Weight
-
setGrossVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: GrossVolume
- Parameters:
grossVolume- Total Volume of Handling Unit
-
setHandlingUnitNetVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitNetVolume
- Parameters:
handlingUnitNetVolume- Loading Volume of Handling Unit
-
setVolumeUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: VolumeUnit
- Parameters:
volumeUnit- Volume Unit
-
setHandlingUnitTareVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitTareVolume
- Parameters:
handlingUnitTareVolume- Tare Volume of Handling Unit
-
setHandlingUnitTareVolumeUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: HandlingUnitTareVolumeUnit
- Parameters:
handlingUnitTareVolumeUnit- Volume Unit
-
setHandlingUnitLength
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitLength
- Parameters:
handlingUnitLength- Length
-
setHandlingUnitWidth
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitWidth
- Parameters:
handlingUnitWidth- Width
-
setHandlingUnitHeight
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitHeight
- Parameters:
handlingUnitHeight- Height
-
setUnitOfMeasureDimension
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasureDimension
- Parameters:
unitOfMeasureDimension- Unit of Dimension for Length/Width/Height
-
setHandlingUnitPackingObjectKey
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitPackingObjectKey
- Parameters:
handlingUnitPackingObjectKey- Key for Object to Which the Handling Unit is Assigned
-
setHandlingUnitReferenceDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: HandlingUnitReferenceDocument
- Parameters:
handlingUnitReferenceDocument- Sales and Distribution Document Number
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setCreationDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- The creationDateTime to set.
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- The lastChangeDateTime to set.
-
setHandlingUnitProcessStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: HandlingUnitProcessStatus
- Parameters:
handlingUnitProcessStatus- Handling Unit Process Status
-
setStorageType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageType
- Parameters:
storageType- Storage Type
-
setStorageSection
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageSection
- Parameters:
storageSection- Storage Section
-
setStorageBin
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: StorageBin
- Parameters:
storageBin- Storage Bin
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<HandlingUnit>
-
getKey
- Overrides:
getKeyin classVdmObject<HandlingUnit>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<HandlingUnit>
-
fromMap
- Overrides:
fromMapin classVdmObject<HandlingUnit>
-
field
@Nonnull public static <T> HandlingUnitField<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> HandlingUnitField<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<HandlingUnit>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<HandlingUnit>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<HandlingUnit>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<HandlingUnit>
-
fetchHandlingUnitItem
Fetches the HandlingUnitItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_HandlingUnitItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated HandlingUnitItem 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.
-
getHandlingUnitItemOrFetch
Retrieval of associated HandlingUnitItem entities (one to many). This corresponds to the OData navigation property to_HandlingUnitItem.If the navigation property to_HandlingUnitItem of a queried HandlingUnit 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 HandlingUnitItem 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.
-
getHandlingUnitItemIfPresent
Retrieval of associated HandlingUnitItem entities (one to many). This corresponds to the OData navigation property to_HandlingUnitItem.If the navigation property for an entity HandlingUnit 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_HandlingUnitItem is already loaded, the result will
contain the HandlingUnitItem entities. If not, an
Optionwith result stateemptyis returned.
-
setHandlingUnitItem
Overwrites the list of associated HandlingUnitItem entities for the loaded navigation property to_HandlingUnitItem.If the navigation property to_HandlingUnitItem of a queried HandlingUnit 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 HandlingUnitItem entities.
-
addHandlingUnitItem
Adds elements to the list of associated HandlingUnitItem entities. This corresponds to the OData navigation property to_HandlingUnitItem.If the navigation property to_HandlingUnitItem of a queried HandlingUnit 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 HandlingUnitItem entities.
-
builder
-
getHandlingUnitExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitExternalID
- Returns:
- External Handling Unit Identification
-
getWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getPackagingMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: PackagingMaterial
- Returns:
- Packaging Materials
-
getPackagingMaterialType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PackagingMaterialType
- Returns:
- Packaging Material Type
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getShippingPoint
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ShippingPoint
- Returns:
- Shipping Point / Receiving Point
-
getParentHandlingUnitNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ParentHandlingUnitNumber
- Returns:
- External Handling Unit Identification
-
getGrossWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: GrossWeight
- Returns:
- Total Weight of Handling Unit
-
getNetWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: NetWeight
- Returns:
- Loading Weight of Handling Unit
-
getHandlingUnitMaxWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitMaxWeight
- Returns:
- Allowed Loading Weight of a Handling Unit
-
getWeightUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: WeightUnit
- Returns:
- Unit of Weight
-
getHandlingUnitTareWeight
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitTareWeight
- Returns:
- Tare Weight of Handling Unit
-
getHandlingUnitTareWeightUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: HandlingUnitTareWeightUnit
- Returns:
- Unit of Weight
-
getGrossVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: GrossVolume
- Returns:
- Total Volume of Handling Unit
-
getHandlingUnitNetVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitNetVolume
- Returns:
- Loading Volume of Handling Unit
-
getVolumeUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: VolumeUnit
- Returns:
- Volume Unit
-
getHandlingUnitTareVolume
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: HandlingUnitTareVolume
- Returns:
- Tare Volume of Handling Unit
-
getHandlingUnitTareVolumeUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: HandlingUnitTareVolumeUnit
- Returns:
- Volume Unit
-
getHandlingUnitLength
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitLength
- Returns:
- Length
-
getHandlingUnitWidth
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitWidth
- Returns:
- Width
-
getHandlingUnitHeight
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: HandlingUnitHeight
- Returns:
- Height
-
getUnitOfMeasureDimension
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasureDimension
- Returns:
- Unit of Dimension for Length/Width/Height
-
getHandlingUnitPackingObjectKey
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitPackingObjectKey
- Returns:
- Key for Object to Which the Handling Unit is Assigned
-
getHandlingUnitReferenceDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: HandlingUnitReferenceDocument
- Returns:
- Sales and Distribution Document Number
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getCreationDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: CreationDateTime
- Returns:
- The creationDateTime contained in this entity.
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- The lastChangeDateTime contained in this entity.
-
getHandlingUnitProcessStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: HandlingUnitProcessStatus
- Returns:
- Handling Unit Process Status
-
getStorageType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageType
- Returns:
- Storage Type
-
getStorageSection
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageSection
- Returns:
- Storage Section
-
getStorageBin
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: StorageBin
- Returns:
- Storage Bin
-
toString
- Overrides:
toStringin classVdmObject<HandlingUnit>
-
equals
- Overrides:
equalsin classVdmEntity<HandlingUnit>
-
canEqual
- Overrides:
canEqualin classVdmEntity<HandlingUnit>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<HandlingUnit>
-