public class MatlStkInAcctMod extends VdmEntity<MatlStkInAcctMod>
Modifier and Type | Class and Description |
---|---|
static class |
MatlStkInAcctMod.MatlStkInAcctModBuilder |
Modifier and Type | Field and Description |
---|---|
static MatlStkInAcctModSelectable |
ALL_FIELDS
Selector for all available fields of MatlStkInAcctMod.
|
static MatlStkInAcctModField<String> |
BATCH
Use with available fluent helpers to apply the Batch field to query operations.
|
static MatlStkInAcctModField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static MatlStkInAcctModField<String> |
INVENTORY_SPECIAL_STOCK_TYPE
Use with available fluent helpers to apply the InventorySpecialStockType field to query operations.
|
static MatlStkInAcctModField<String> |
INVENTORY_STOCK_TYPE
Use with available fluent helpers to apply the InventoryStockType field to query operations.
|
static MatlStkInAcctModField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static MatlStkInAcctModField<String> |
MATERIAL_BASE_UNIT
Use with available fluent helpers to apply the MaterialBaseUnit field to query operations.
|
static MatlStkInAcctModField<BigDecimal> |
MATL_WRHS_STK_QTY_IN_MATL_BASE_UNIT
Use with available fluent helpers to apply the MatlWrhsStkQtyInMatlBaseUnit field to query operations.
|
static MatlStkInAcctModField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static MatlStkInAcctModField<String> |
SD_DOCUMENT
Use with available fluent helpers to apply the SDDocument field to query operations.
|
static MatlStkInAcctModField<String> |
SD_DOCUMENT_ITEM
Use with available fluent helpers to apply the SDDocumentItem field to query operations.
|
static MatlStkInAcctModField<String> |
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations.
|
static MatlStkInAcctModField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static MatlStkInAcctModLink<MaterialStock> |
TO_MATERIAL_STOCK
Use with available fluent helpers to apply the to_MaterialStock navigation property to query operations.
|
static MatlStkInAcctModField<String> |
WBS_ELEMENT_INTERNAL_ID
Use with available fluent helpers to apply the WBSElementInternalID field to query operations.
|
Constructor and Description |
---|
MatlStkInAcctMod() |
MatlStkInAcctMod(String material,
String inventorySpecialStockType,
String inventoryStockType,
String materialBaseUnit,
BigDecimal matlWrhsStkQtyInMatlBaseUnit,
String plant,
String storageLocation,
String batch,
String supplier,
String customer,
String wBSElementInternalID,
String sDDocument,
String sDDocumentItem,
ErpConfigContext erpConfigContext,
MaterialStock toMaterialStock) |
Modifier and Type | Method and Description |
---|---|
static MatlStkInAcctMod.MatlStkInAcctModBuilder |
builder() |
boolean |
equals(Object o) |
MaterialStock |
fetchMaterialStock()
Fetches the MaterialStock entity (one to one) associated with this entity.
|
static <T> MatlStkInAcctModField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getBatch()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getInventorySpecialStockType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getInventoryStockType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
MaterialStock |
getMaterialStockOrFetch()
Retrieval of associated MaterialStock entity (one to one).
|
com.google.common.base.Optional<MaterialStock> |
getMaterialStockOrNull()
Retrieval of associated MaterialStock entity (one to one).
|
BigDecimal |
getMatlWrhsStkQtyInMatlBaseUnit()
Constraints: Not nullable, Precision: 31, Scale: 14
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSDDocument()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSDDocumentItem()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getStorageLocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSupplier()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<MatlStkInAcctMod> |
getType() |
String |
getWBSElementInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 24
|
int |
hashCode() |
void |
setBatch(String batch)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setInventorySpecialStockType(String inventorySpecialStockType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setInventoryStockType(String inventoryStockType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialBaseUnit(String materialBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMaterialStock(MaterialStock value)
Overwrites the associated MaterialStock entity for the loaded navigation property to_MaterialStock.
|
void |
setMatlWrhsStkQtyInMatlBaseUnit(BigDecimal matlWrhsStkQtyInMatlBaseUnit)
Constraints: Not nullable, Precision: 31, Scale: 14
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSDDocument(String sDDocument)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSDDocumentItem(String sDDocumentItem)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setStorageLocation(String storageLocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSupplier(String supplier)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setWBSElementInternalID(String wBSElementInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 24
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final MatlStkInAcctModSelectable ALL_FIELDS
public static final MatlStkInAcctModField<String> MATERIAL
public static final MatlStkInAcctModField<String> INVENTORY_SPECIAL_STOCK_TYPE
public static final MatlStkInAcctModField<String> INVENTORY_STOCK_TYPE
public static final MatlStkInAcctModField<String> MATERIAL_BASE_UNIT
public static final MatlStkInAcctModField<BigDecimal> MATL_WRHS_STK_QTY_IN_MATL_BASE_UNIT
public static final MatlStkInAcctModField<String> PLANT
public static final MatlStkInAcctModField<String> STORAGE_LOCATION
public static final MatlStkInAcctModField<String> BATCH
public static final MatlStkInAcctModField<String> SUPPLIER
public static final MatlStkInAcctModField<String> CUSTOMER
public static final MatlStkInAcctModField<String> WBS_ELEMENT_INTERNAL_ID
public static final MatlStkInAcctModField<String> SD_DOCUMENT
public static final MatlStkInAcctModField<String> SD_DOCUMENT_ITEM
public static final MatlStkInAcctModLink<MaterialStock> TO_MATERIAL_STOCK
@Generated(value="lombok") public MatlStkInAcctMod()
@ConstructorProperties(value={"material","inventorySpecialStockType","inventoryStockType","materialBaseUnit","matlWrhsStkQtyInMatlBaseUnit","plant","storageLocation","batch","supplier","customer","wBSElementInternalID","sDDocument","sDDocumentItem","erpConfigContext","toMaterialStock"}) @Generated(value="lombok") public MatlStkInAcctMod(@Nullable String material, @Nullable String inventorySpecialStockType, @Nullable String inventoryStockType, @Nullable String materialBaseUnit, @Nullable BigDecimal matlWrhsStkQtyInMatlBaseUnit, @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 ErpConfigContext erpConfigContext, @Nullable MaterialStock toMaterialStock)
public Class<MatlStkInAcctMod> getType()
getType
in class VdmObject<MatlStkInAcctMod>
public static <T> MatlStkInAcctModField<T> field(String fieldName, Class<T> fieldType)
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.public MaterialStock fetchMaterialStock() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.public MaterialStock getMaterialStockOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.public com.google.common.base.Optional<MaterialStock> getMaterialStockOrNull()
If the navigation property to_MaterialStock for an entity MatlStkInAcctMod has not been resolved yet, this method will not query further information. Instead its Optional result state will be null.
public void setMaterialStock(MaterialStock value)
value
- New MaterialStock entity.@Generated(value="lombok") public static MatlStkInAcctMod.MatlStkInAcctModBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getInventorySpecialStockType()
@Nullable @Generated(value="lombok") public String getInventoryStockType()
@Nullable @Generated(value="lombok") public String getMaterialBaseUnit()
@Nullable @Generated(value="lombok") public BigDecimal getMatlWrhsStkQtyInMatlBaseUnit()
@Nullable @Generated(value="lombok") public String getPlant()
@Nullable @Generated(value="lombok") public String getStorageLocation()
@Nullable @Generated(value="lombok") public String getBatch()
@Nullable @Generated(value="lombok") public String getSupplier()
@Nullable @Generated(value="lombok") public String getCustomer()
@Nullable @Generated(value="lombok") public String getWBSElementInternalID()
@Nullable @Generated(value="lombok") public String getSDDocument()
@Nullable @Generated(value="lombok") public String getSDDocumentItem()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setInventorySpecialStockType(@Nullable String inventorySpecialStockType)
inventorySpecialStockType
- @Generated(value="lombok") public void setInventoryStockType(@Nullable String inventoryStockType)
inventoryStockType
- @Generated(value="lombok") public void setMaterialBaseUnit(@Nullable String materialBaseUnit)
materialBaseUnit
- @Generated(value="lombok") public void setMatlWrhsStkQtyInMatlBaseUnit(@Nullable BigDecimal matlWrhsStkQtyInMatlBaseUnit)
matlWrhsStkQtyInMatlBaseUnit
- @Generated(value="lombok") public void setPlant(@Nullable String plant)
plant
- @Generated(value="lombok") public void setStorageLocation(@Nullable String storageLocation)
storageLocation
- @Generated(value="lombok") public void setBatch(@Nullable String batch)
batch
- @Generated(value="lombok") public void setSupplier(@Nullable String supplier)
supplier
- @Generated(value="lombok") public void setCustomer(@Nullable String customer)
customer
- @Generated(value="lombok") public void setWBSElementInternalID(@Nullable String wBSElementInternalID)
wBSElementInternalID
- @Generated(value="lombok") public void setSDDocument(@Nullable String sDDocument)
sDDocument
- @Generated(value="lombok") public void setSDDocumentItem(@Nullable String sDDocumentItem)
sDDocumentItem
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<MatlStkInAcctMod>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<MatlStkInAcctMod>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<MatlStkInAcctMod>
Copyright © 2018 SAP SE. All rights reserved.