Class MatlStkInAcctMod
Original entity name from the Odata EDM: A_MatlStkInAcctModType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MatlStkInAcctMod instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MatlStkInAcctModSelectableSelector for all available fields of MatlStkInAcctMod.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the Batch field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the Customer field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the InventorySpecialStockType field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the InventoryStockType field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the Material field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the MaterialBaseUnit field to query operations.static final MatlStkInAcctModField<BigDecimal>Use with available fluent helpers to apply the MatlWrhsStkQtyInMatlBaseUnit field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the Plant field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the SDDocument field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the SDDocumentItem field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the StorageLocation field to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final MatlStkInAcctModOneToOneLink<MaterialStock>Use with available fluent helpers to apply the to_MaterialStock navigation property to query operations.static final MatlStkInAcctModField<String>Use with available fluent helpers to apply the WBSElementInternalID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionMatlStkInAcctMod(String material, String plant, String storageLocation, String batch, String supplier, String customer, String wBSElementInternalID, String sDDocument, String sDDocumentItem, String inventorySpecialStockType, String inventoryStockType, String materialBaseUnit, BigDecimal matlWrhsStkQtyInMatlBaseUnit, MaterialStock toMaterialStock) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the MaterialStock entity (one to one) associated with this entity.static <T,DomainT>
MatlStkInAcctModField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> MatlStkInAcctModField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidgetBatch()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 2getKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<MaterialStock>Retrieval of associated MaterialStock entity (one to one).Retrieval of associated MaterialStock entity (one to one).Constraints: Not nullable, Precision: 31, Scale: 14getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10getType()(Key Field) Constraints: Not nullable, Maximum length: 24inthashCode()void(Key Field) Constraints: Not nullable, Maximum length: 10voidsetCustomer(String customer) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetInventorySpecialStockType(String inventorySpecialStockType) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetInventoryStockType(String inventoryStockType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetMaterialBaseUnit(String materialBaseUnit) Constraints: Not nullable, Maximum length: 3voidsetMaterialStock(MaterialStock value) Overwrites the associated MaterialStock entity for the loaded navigation property to_MaterialStock.voidsetMatlWrhsStkQtyInMatlBaseUnit(BigDecimal matlWrhsStkQtyInMatlBaseUnit) Constraints: Not nullable, Precision: 31, Scale: 14void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetSDDocument(String sDDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSDDocumentItem(String sDDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 6protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStorageLocation(String storageLocation) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetSupplier(String supplier) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWBSElementInternalID(String wBSElementInternalID) (Key Field) Constraints: Not nullable, Maximum length: 24toString()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 MatlStkInAcctMod. -
MATERIAL
Use with available fluent helpers to apply the Material 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. -
BATCH
Use with available fluent helpers to apply the Batch field to query operations. -
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations. -
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations. -
WBS_ELEMENT_INTERNAL_ID
Use with available fluent helpers to apply the WBSElementInternalID field to query operations. -
SD_DOCUMENT
Use with available fluent helpers to apply the SDDocument field to query operations. -
SD_DOCUMENT_ITEM
Use with available fluent helpers to apply the SDDocumentItem field to query operations. -
INVENTORY_SPECIAL_STOCK_TYPE
Use with available fluent helpers to apply the InventorySpecialStockType field to query operations. -
INVENTORY_STOCK_TYPE
Use with available fluent helpers to apply the InventoryStockType field to query operations. -
MATERIAL_BASE_UNIT
Use with available fluent helpers to apply the MaterialBaseUnit field to query operations. -
MATL_WRHS_STK_QTY_IN_MATL_BASE_UNIT
Use with available fluent helpers to apply the MatlWrhsStkQtyInMatlBaseUnit field to query operations. -
TO_MATERIAL_STOCK
Use with available fluent helpers to apply the to_MaterialStock navigation property to query operations.
-
-
Constructor Details
-
MatlStkInAcctMod
public MatlStkInAcctMod() -
MatlStkInAcctMod
public MatlStkInAcctMod(@Nullable String material, @Nullable String plant, @Nullable String storageLocation, @Nullable String batch, @Nullable String supplier, @Nullable String customer, @Nullable String wBSElementInternalID, @Nullable String sDDocument, @Nullable String sDDocumentItem, @Nullable String inventorySpecialStockType, @Nullable String inventoryStockType, @Nullable String materialBaseUnit, @Nullable BigDecimal matlWrhsStkQtyInMatlBaseUnit, @Nullable MaterialStock toMaterialStock)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MatlStkInAcctMod>
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material in Respect of Which Stock is Managed
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setStorageLocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setBatch
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Batch
- Parameters:
batch- Batch Number (Stock Identifier)
-
setSupplier
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Supplier for Special Stock
-
setCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Customer for Special Stock
-
setWBSElementInternalID
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElementInternalID
- Parameters:
wBSElementInternalID- Valuated Sales Order Stock WBS Element
-
setSDDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SDDocument
- Parameters:
sDDocument- Sales order number of valuated sales order stock
-
setSDDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SDDocumentItem
- Parameters:
sDDocumentItem- Sales Order Item of Valuated Sales Order Stock
-
setInventorySpecialStockType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InventorySpecialStockType
- Parameters:
inventorySpecialStockType- Special Stock Type
-
setInventoryStockType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InventoryStockType
- Parameters:
inventoryStockType- Stock Type of Goods Movement (Stock Identifier)
-
setMaterialBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaterialBaseUnit
- Parameters:
materialBaseUnit- Base Unit of Measure
-
setMatlWrhsStkQtyInMatlBaseUnit
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: MatlWrhsStkQtyInMatlBaseUnit
- Parameters:
matlWrhsStkQtyInMatlBaseUnit- The matlWrhsStkQtyInMatlBaseUnit to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MatlStkInAcctMod>
-
getKey
- Overrides:
getKeyin classVdmObject<MatlStkInAcctMod>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MatlStkInAcctMod>
-
fromMap
- Overrides:
fromMapin classVdmObject<MatlStkInAcctMod>
-
field
@Nonnull public static <T> MatlStkInAcctModField<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> MatlStkInAcctModField<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<MatlStkInAcctMod>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<MatlStkInAcctMod>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<MatlStkInAcctMod>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MatlStkInAcctMod>
-
fetchMaterialStock
Fetches the MaterialStock entity (one to one) associated with this entity. This corresponds to the OData navigation property to_MaterialStock.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated MaterialStock entity, or
nullif an entity is not associated. - 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.
-
getMaterialStockOrFetch
Retrieval of associated MaterialStock entity (one to one). This corresponds to the OData navigation property to_MaterialStock.If the navigation property to_MaterialStock of a queried MatlStkInAcctMod 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 MaterialStock entity.
- 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.
-
getMaterialStockIfPresent
Retrieval of associated MaterialStock entity (one to one). This corresponds to the OData navigation property to_MaterialStock.If the navigation property for an entity MatlStkInAcctMod 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_MaterialStock is already loaded, the result will
contain the MaterialStock entity. If not, an
Optionwith result stateemptyis returned.
-
setMaterialStock
Overwrites the associated MaterialStock entity for the loaded navigation property to_MaterialStock.- Parameters:
value- New MaterialStock entity.
-
builder
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material in Respect of Which Stock is Managed
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getStorageLocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getBatch
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Batch
- Returns:
- Batch Number (Stock Identifier)
-
getSupplier
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Supplier for Special Stock
-
getCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Customer for Special Stock
-
getWBSElementInternalID
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: WBSElementInternalID
- Returns:
- Valuated Sales Order Stock WBS Element
-
getSDDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SDDocument
- Returns:
- Sales order number of valuated sales order stock
-
getSDDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SDDocumentItem
- Returns:
- Sales Order Item of Valuated Sales Order Stock
-
getInventorySpecialStockType
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InventorySpecialStockType
- Returns:
- Special Stock Type
-
getInventoryStockType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InventoryStockType
- Returns:
- Stock Type of Goods Movement (Stock Identifier)
-
getMaterialBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaterialBaseUnit
- Returns:
- Base Unit of Measure
-
getMatlWrhsStkQtyInMatlBaseUnit
Constraints: Not nullable, Precision: 31, Scale: 14Original property name from the Odata EDM: MatlWrhsStkQtyInMatlBaseUnit
- Returns:
- The matlWrhsStkQtyInMatlBaseUnit contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<MatlStkInAcctMod>
-
equals
- Overrides:
equalsin classVdmEntity<MatlStkInAcctMod>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MatlStkInAcctMod>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MatlStkInAcctMod>
-