public class MaterialStock extends Entity<MaterialStock>
Modifier and Type | Class and Description |
---|---|
static class |
MaterialStock.MaterialStockBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<MaterialStock,String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static EntityField<MaterialStock,String> |
MATERIAL_BASE_UNIT
Use with available fluent helpers to apply the MaterialBaseUnit field to query operations.
|
Constructor and Description |
---|
MaterialStock() |
MaterialStock(String material,
String materialBaseUnit,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static MaterialStock.MaterialStockBuilder |
builder() |
boolean |
equals(Object o) |
List<MatlStkInAcctMod> |
fetchMatlStkInAcctMod()
Fetches the MatlStkInAcctMod entities (one to many) associated with this entity.
|
static <T> EntityField<MaterialStock,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
Class<MaterialStock> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialBaseUnit(String materialBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
String |
toString() |
public static final EntityField<MaterialStock,String> MATERIAL
public static final EntityField<MaterialStock,String> MATERIAL_BASE_UNIT
@Generated(value="lombok") public MaterialStock()
@ConstructorProperties(value={"material","materialBaseUnit","erpConfigContext"}) @Generated(value="lombok") public MaterialStock(@Nullable String material, @Nullable String materialBaseUnit, ErpConfigContext erpConfigContext)
public Class<MaterialStock> getType()
getType
in class Entity<MaterialStock>
public static <T> EntityField<MaterialStock,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 List<MatlStkInAcctMod> fetchMatlStkInAcctMod() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static MaterialStock.MaterialStockBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterial()
@Nullable @Generated(value="lombok") public String getMaterialBaseUnit()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterial(@Nullable String material)
material
- @Generated(value="lombok") public void setMaterialBaseUnit(@Nullable String materialBaseUnit)
materialBaseUnit
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<MaterialStock>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<MaterialStock>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<MaterialStock>
Copyright © 2017 SAP SE. All rights reserved.