Class HandlingUnitSerialNumber
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: HandlingUnitSerialNumber_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of HandlingUnitSerialNumber instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<HandlingUnitSerialNumber>Selector for all available fields of HandlingUnitSerialNumber.static final SimpleProperty.String<HandlingUnitSerialNumber>static final SimpleProperty.String<HandlingUnitSerialNumber>static final SimpleProperty.String<HandlingUnitSerialNumber>static final SimpleProperty.String<HandlingUnitSerialNumber>static final SimpleProperty.Guid<HandlingUnitSerialNumber>static final NavigationProperty.Single<HandlingUnitSerialNumber,HandlingUnit> Use with available request builders to apply the _HandlingUnit navigation property to query operations.Use with available request builders to apply the _HandlingUnitItem navigation property to query operations.static final SimpleProperty.String<HandlingUnitSerialNumber>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionHandlingUnitSerialNumber(String handlingUnitItem, String handlingUnitExternalID, String warehouse, UUID stockItemUUID, String serialNumber, String equipment, HandlingUnit to_HandlingUnit, HandlingUnitItem to_HandlingUnitItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected StringConstraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 20io.vavr.control.Option<HandlingUnit>Retrieval of associated HandlingUnit entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<HandlingUnitItem>Retrieval of associated HandlingUnitItem entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullablegetType()(Key Field) Constraints: Not nullable, Maximum length: 4inthashCode()voidsetEquipment(String equipment) Constraints: Not nullable, Maximum length: 18voidsetHandlingUnit(HandlingUnit value) Overwrites the associated HandlingUnit entity for the loaded navigation property _HandlingUnit.voidsetHandlingUnitExternalID(String handlingUnitExternalID) (Key Field) Constraints: Not nullable, Maximum length: 20voidOverwrites the associated HandlingUnitItem entity for the loaded navigation property _HandlingUnitItem.voidsetHandlingUnitItem(String handlingUnitItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetSerialNumber(String serialNumber) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetStockItemUUID(UUID stockItemUUID) (Key Field) Constraints: Not nullablevoidsetWarehouse(String warehouse) (Key Field) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 HandlingUnitSerialNumber. -
HANDLING_UNIT_ITEM
-
HANDLING_UNIT_EXTERNAL_ID
-
WAREHOUSE
-
STOCK_ITEM_UUID
-
SERIAL_NUMBER
-
EQUIPMENT
-
TO__HANDLING_UNIT
public static final NavigationProperty.Single<HandlingUnitSerialNumber,HandlingUnit> TO__HANDLING_UNITUse with available request builders to apply the _HandlingUnit navigation property to query operations. -
TO__HANDLING_UNIT_ITEM
public static final NavigationProperty.Single<HandlingUnitSerialNumber,HandlingUnitItem> TO__HANDLING_UNIT_ITEMUse with available request builders to apply the _HandlingUnitItem navigation property to query operations.
-
-
Constructor Details
-
HandlingUnitSerialNumber
public HandlingUnitSerialNumber() -
HandlingUnitSerialNumber
public HandlingUnitSerialNumber(@Nullable String handlingUnitItem, @Nullable String handlingUnitExternalID, @Nullable String warehouse, @Nullable UUID stockItemUUID, @Nullable String serialNumber, @Nullable String equipment, @Nullable HandlingUnit to_HandlingUnit, @Nullable HandlingUnitItem to_HandlingUnitItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<HandlingUnitSerialNumber>
-
setHandlingUnitItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: HandlingUnitItem
- Parameters:
handlingUnitItem- Handling Unit Item
-
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
-
setStockItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StockItemUUID
- Parameters:
stockItemUUID- GUID Stock Item
-
setSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Parameters:
serialNumber- Serial Number
-
setEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Parameters:
equipment- Equipment Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<HandlingUnitSerialNumber>
-
getKey
- Overrides:
getKeyin classVdmObject<HandlingUnitSerialNumber>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<HandlingUnitSerialNumber>
-
fromMap
- Overrides:
fromMapin classVdmObject<HandlingUnitSerialNumber>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<HandlingUnitSerialNumber>
-
getHandlingUnitIfPresent
Retrieval of associated HandlingUnit entity (one to one). This corresponds to the OData navigation property _HandlingUnit.If the navigation property for an entity HandlingUnitSerialNumber 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 _HandlingUnit is already loaded, the result will
contain the HandlingUnit entity. If not, an
Optionwith result stateemptyis returned.
-
setHandlingUnit
Overwrites the associated HandlingUnit entity for the loaded navigation property _HandlingUnit.- Parameters:
value- New HandlingUnit entity.
-
getHandlingUnitItemIfPresent
Retrieval of associated HandlingUnitItem entity (one to one). This corresponds to the OData navigation property _HandlingUnitItem.If the navigation property for an entity HandlingUnitSerialNumber 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 _HandlingUnitItem is already loaded, the result will
contain the HandlingUnitItem entity. If not, an
Optionwith result stateemptyis returned.
-
setHandlingUnitItem
Overwrites the associated HandlingUnitItem entity for the loaded navigation property _HandlingUnitItem.- Parameters:
value- New HandlingUnitItem entity.
-
builder
-
getHandlingUnitItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: HandlingUnitItem
- Returns:
- Handling Unit Item
-
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
-
getStockItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StockItemUUID
- Returns:
- GUID Stock Item
-
getSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Returns:
- Serial Number
-
getEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Returns:
- Equipment Number
-
toString
- Overrides:
toStringin classVdmObject<HandlingUnitSerialNumber>
-
equals
- Overrides:
equalsin classVdmEntity<HandlingUnitSerialNumber>
-
canEqual
- Overrides:
canEqualin classVdmEntity<HandlingUnitSerialNumber>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<HandlingUnitSerialNumber>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<HandlingUnitSerialNumber>
-