Class WarehouseStorageType
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<WarehouseStorageType>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.warehouse.WarehouseStorageType
- All Implemented Interfaces:
VdmEntitySet
Warehouse Storage Type
Original entity name from the Odata EDM: WarehouseStorageTypeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WarehouseStorageType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WarehouseStorageType>Selector for all available fields of WarehouseStorageType.static final SimpleProperty.String<WarehouseStorageType>static final SimpleProperty.String<WarehouseStorageType>static final NavigationProperty.Single<WarehouseStorageType,Warehouse> Use with available request builders to apply the _Warehouse 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
ConstructorsConstructorDescriptionWarehouseStorageType(String eWMWarehouse, String eWMStorageType, Warehouse to_Warehouse) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()getType()io.vavr.control.Option<Warehouse>Retrieval of associated Warehouse entity (one to one).inthashCode()voidsetEWMStorageType(String eWMStorageType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetEWMWarehouse(String eWMWarehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWarehouse(Warehouse value) Overwrites the associated Warehouse entity for the loaded navigation property _Warehouse.toString()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 WarehouseStorageType. -
EWM_WAREHOUSE
-
EWM_STORAGE_TYPE
-
TO__WAREHOUSE
Use with available request builders to apply the _Warehouse navigation property to query operations.
-
-
Constructor Details
-
WarehouseStorageType
public WarehouseStorageType() -
WarehouseStorageType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WarehouseStorageType>
-
setEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Parameters:
eWMWarehouse- Warehouse Number/Warehouse Complex
-
setEWMStorageType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMStorageType
- Parameters:
eWMStorageType- Storage Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WarehouseStorageType>
-
getKey
- Overrides:
getKeyin classVdmObject<WarehouseStorageType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WarehouseStorageType>
-
fromMap
- Overrides:
fromMapin classVdmObject<WarehouseStorageType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WarehouseStorageType>
-
getWarehouseIfPresent
Retrieval of associated Warehouse entity (one to one). This corresponds to the OData navigation property _Warehouse.If the navigation property for an entity WarehouseStorageType 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 _Warehouse is already loaded, the result will contain
the Warehouse entity. If not, an
Optionwith result stateemptyis returned.
-
setWarehouse
Overwrites the associated Warehouse entity for the loaded navigation property _Warehouse.- Parameters:
value- New Warehouse entity.
-
builder
-
getEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getEWMStorageType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMStorageType
- Returns:
- Storage Type
-
toString
- Overrides:
toStringin classVdmObject<WarehouseStorageType>
-
equals
- Overrides:
equalsin classVdmEntity<WarehouseStorageType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WarehouseStorageType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WarehouseStorageType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WarehouseStorageType>
-