Class WarehouseTaskSerialNumber
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WarehouseTaskSerialNumber_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WarehouseTaskSerialNumber instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WarehouseTaskSerialNumber>Selector for all available fields of WarehouseTaskSerialNumber.static final SimpleProperty.String<WarehouseTaskSerialNumber>static final SimpleProperty.String<WarehouseTaskSerialNumber>static final NavigationProperty.Single<WarehouseTaskSerialNumber,WarehouseTask> Use with available request builders to apply the _WarehouseTask navigation property to query operations.static final SimpleProperty.String<WarehouseTaskSerialNumber>static final SimpleProperty.String<WarehouseTaskSerialNumber>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWarehouseTaskSerialNumber(String eWMWarehouse, String warehouseTask, String warehouseTaskItem, String eWMSerialNumber, WarehouseTask to_WarehouseTask) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()getType()(Key Field) Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<WarehouseTask>Retrieval of associated WarehouseTask entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4inthashCode()voidsetEWMSerialNumber(String eWMSerialNumber) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetEWMWarehouse(String eWMWarehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWarehouseTask(WarehouseTask value) Overwrites the associated WarehouseTask entity for the loaded navigation property _WarehouseTask.voidsetWarehouseTask(String warehouseTask) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetWarehouseTaskItem(String warehouseTaskItem) (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 WarehouseTaskSerialNumber. -
EWM_WAREHOUSE
-
WAREHOUSE_TASK
-
WAREHOUSE_TASK_ITEM
-
EWM_SERIAL_NUMBER
-
TO__WAREHOUSE_TASK
public static final NavigationProperty.Single<WarehouseTaskSerialNumber,WarehouseTask> TO__WAREHOUSE_TASKUse with available request builders to apply the _WarehouseTask navigation property to query operations.
-
-
Constructor Details
-
WarehouseTaskSerialNumber
public WarehouseTaskSerialNumber() -
WarehouseTaskSerialNumber
public WarehouseTaskSerialNumber(@Nullable String eWMWarehouse, @Nullable String warehouseTask, @Nullable String warehouseTaskItem, @Nullable String eWMSerialNumber, @Nullable WarehouseTask to_WarehouseTask)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WarehouseTaskSerialNumber>
-
setEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Parameters:
eWMWarehouse- Warehouse Number/Warehouse Complex
-
setWarehouseTask
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: WarehouseTask
- Parameters:
warehouseTask- Warehouse Task
-
setWarehouseTaskItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WarehouseTaskItem
- Parameters:
warehouseTaskItem- Warehouse Task Item
-
setEWMSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: EWMSerialNumber
- Parameters:
eWMSerialNumber- The eWMSerialNumber to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WarehouseTaskSerialNumber>
-
getKey
- Overrides:
getKeyin classVdmObject<WarehouseTaskSerialNumber>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WarehouseTaskSerialNumber>
-
fromMap
- Overrides:
fromMapin classVdmObject<WarehouseTaskSerialNumber>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WarehouseTaskSerialNumber>
-
getWarehouseTaskIfPresent
Retrieval of associated WarehouseTask entity (one to one). This corresponds to the OData navigation property _WarehouseTask.If the navigation property for an entity WarehouseTaskSerialNumber 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 _WarehouseTask is already loaded, the result will
contain the WarehouseTask entity. If not, an
Optionwith result stateemptyis returned.
-
setWarehouseTask
Overwrites the associated WarehouseTask entity for the loaded navigation property _WarehouseTask.- Parameters:
value- New WarehouseTask entity.
-
builder
-
getEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getWarehouseTask
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: WarehouseTask
- Returns:
- Warehouse Task
-
getWarehouseTaskItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WarehouseTaskItem
- Returns:
- Warehouse Task Item
-
getEWMSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: EWMSerialNumber
- Returns:
- The eWMSerialNumber contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<WarehouseTaskSerialNumber>
-
equals
- Overrides:
equalsin classVdmEntity<WarehouseTaskSerialNumber>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WarehouseTaskSerialNumber>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WarehouseTaskSerialNumber>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WarehouseTaskSerialNumber>
-