public class ProductPlantSales extends VdmEntity<ProductPlantSales>
Original entity name from the Odata EDM: A_ProductPlantSalesType
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantSales.ProductPlantSalesBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantSalesSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantSales.
|
static ProductPlantSalesField<String> |
LOADING_GROUP
Use with available fluent helpers to apply the LoadingGroup field to query operations.
|
static ProductPlantSalesField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantSalesField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
Constructor and Description |
---|
ProductPlantSales() |
ProductPlantSales(String product,
String plant,
String loadingGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductPlantSales.ProductPlantSalesBuilder |
builder() |
boolean |
equals(Object o) |
static <T> ProductPlantSalesField<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. fetching associated entities).
|
String |
getLoadingGroup()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LoadingGroupThe system uses the loading group as well as theShipping conditions andDelivering plantto automatically determine the shipping point for the item.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
Class<ProductPlantSales> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setLoadingGroup(String loadingGroup)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LoadingGroupThe system uses the loading group as well as theShipping conditions andDelivering plantto automatically determine the shipping point for the item.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: Plant
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProductPlantSalesSelectable ALL_FIELDS
public static final ProductPlantSalesField<String> PRODUCT
public static final ProductPlantSalesField<String> PLANT
public static final ProductPlantSalesField<String> LOADING_GROUP
public Class<ProductPlantSales> getType()
getType
in class VdmObject<ProductPlantSales>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setLoadingGroup(@Nullable String loadingGroup)
Original property name from the Odata EDM: LoadingGroup
The system uses the loading group as well as theShipping conditions andDelivering plantto automatically determine the shipping point for the item.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
loadingGroup
- A grouping of materials that share the same loading requirements.public static <T> ProductPlantSalesField<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 static ProductPlantSales.ProductPlantSalesBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getLoadingGroup()
Original property name from the Odata EDM: LoadingGroup
The system uses the loading group as well as theShipping conditions andDelivering plantto automatically determine the shipping point for the item.Different loading groups could consist, for example, of materials that require the same:Equipment during loading (for example, a fork-lift truck)Amount of time for loadingLoading point (for example, loading bay #6)
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductPlantSales>
public boolean equals(Object o)
equals
in class VdmObject<ProductPlantSales>
public int hashCode()
hashCode
in class VdmObject<ProductPlantSales>
Copyright © 2018 SAP SE. All rights reserved.