Class WhsePhysStockProdSerialNmbr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WhsePhysStockProdSerialNmbr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WhsePhysStockProdSerialNmbr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WhsePhysStockProdSerialNmbr>Selector for all available fields of WhsePhysStockProdSerialNmbr.static final SimpleProperty.String<WhsePhysStockProdSerialNmbr>static final SimpleProperty.String<WhsePhysStockProdSerialNmbr>static final SimpleProperty.Guid<WhsePhysStockProdSerialNmbr>static final SimpleProperty.Guid<WhsePhysStockProdSerialNmbr>Use with available request builders to apply the _PhysStock navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWhsePhysStockProdSerialNmbr(UUID parentHandlingUnitUUID, UUID stockItemUUID, String eWMSerialNumber, String eWMWarehouse, WhsePhysicalStockProducts to_PhysStock) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullableio.vavr.control.Option<WhsePhysicalStockProducts>Retrieval of associated WhsePhysicalStockProducts entity (one to one).(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetEWMSerialNumber(String eWMSerialNumber) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetEWMWarehouse(String eWMWarehouse) Constraints: Not nullable, Maximum length: 4voidsetParentHandlingUnitUUID(UUID parentHandlingUnitUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated WhsePhysicalStockProducts entity for the loaded navigation property _PhysStock.voidsetStockItemUUID(UUID stockItemUUID) (Key Field) Constraints: Not nullabletoString()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 WhsePhysStockProdSerialNmbr. -
PARENT_HANDLING_UNIT_UUID
-
STOCK_ITEM_UUID
-
EWM_SERIAL_NUMBER
-
EWM_WAREHOUSE
-
TO__PHYS_STOCK
public static final NavigationProperty.Single<WhsePhysStockProdSerialNmbr,WhsePhysicalStockProducts> TO__PHYS_STOCKUse with available request builders to apply the _PhysStock navigation property to query operations.
-
-
Constructor Details
-
WhsePhysStockProdSerialNmbr
public WhsePhysStockProdSerialNmbr() -
WhsePhysStockProdSerialNmbr
public WhsePhysStockProdSerialNmbr(@Nullable UUID parentHandlingUnitUUID, @Nullable UUID stockItemUUID, @Nullable String eWMSerialNumber, @Nullable String eWMWarehouse, @Nullable WhsePhysicalStockProducts to_PhysStock)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WhsePhysStockProdSerialNmbr>
-
setParentHandlingUnitUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ParentHandlingUnitUUID
- Parameters:
parentHandlingUnitUUID- Parent GUID
-
setStockItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StockItemUUID
- Parameters:
stockItemUUID- GUID Stock Item
-
setEWMSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: EWMSerialNumber
- Parameters:
eWMSerialNumber- 30 Characters
-
setEWMWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Parameters:
eWMWarehouse- Warehouse Number/Warehouse Complex
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WhsePhysStockProdSerialNmbr>
-
getKey
- Overrides:
getKeyin classVdmObject<WhsePhysStockProdSerialNmbr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WhsePhysStockProdSerialNmbr>
-
fromMap
- Overrides:
fromMapin classVdmObject<WhsePhysStockProdSerialNmbr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WhsePhysStockProdSerialNmbr>
-
getPhysStockIfPresent
Retrieval of associated WhsePhysicalStockProducts entity (one to one). This corresponds to the OData navigation property _PhysStock.If the navigation property for an entity WhsePhysStockProdSerialNmbr 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 _PhysStock is already loaded, the result will contain
the WhsePhysicalStockProducts entity. If not, an
Optionwith result stateemptyis returned.
-
setPhysStock
Overwrites the associated WhsePhysicalStockProducts entity for the loaded navigation property _PhysStock.- Parameters:
value- New WhsePhysicalStockProducts entity.
-
builder
-
getParentHandlingUnitUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ParentHandlingUnitUUID
- Returns:
- Parent GUID
-
getStockItemUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StockItemUUID
- Returns:
- GUID Stock Item
-
getEWMSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: EWMSerialNumber
- Returns:
- 30 Characters
-
getEWMWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
toString
- Overrides:
toStringin classVdmObject<WhsePhysStockProdSerialNmbr>
-
equals
- Overrides:
equalsin classVdmEntity<WhsePhysStockProdSerialNmbr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WhsePhysStockProdSerialNmbr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WhsePhysStockProdSerialNmbr>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WhsePhysStockProdSerialNmbr>
-