public class ProductPlantText extends VdmEntity<ProductPlantText>
Modifier and Type | Class and Description |
---|---|
static class |
ProductPlantText.ProductPlantTextBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductPlantTextSelectable |
ALL_FIELDS
Selector for all available fields of ProductPlantText.
|
static ProductPlantTextField<String> |
LONG_TEXT
Use with available fluent helpers to apply the LongText field to query operations.
|
static ProductPlantTextField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductPlantTextField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
Constructor and Description |
---|
ProductPlantText() |
ProductPlantText(String product,
String plant,
String longText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductPlantText.ProductPlantTextBuilder |
builder() |
boolean |
equals(Object o) |
static <T> ProductPlantTextField<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 |
getLongText()
Constraints: none
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Class<ProductPlantText> |
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 |
setLongText(String longText)
Constraints: none
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final ProductPlantTextSelectable ALL_FIELDS
public static final ProductPlantTextField<String> PRODUCT
public static final ProductPlantTextField<String> PLANT
public static final ProductPlantTextField<String> LONG_TEXT
public Class<ProductPlantText> getType()
getType
in class VdmObject<ProductPlantText>
public static <T> ProductPlantTextField<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 ProductPlantText.ProductPlantTextBuilder builder()
@Nullable public String getProduct()
@Nullable public String getPlant()
@Nullable public ErpConfigContext getErpConfigContext()
public void setProduct(@Nullable String product)
product
- public void setPlant(@Nullable String plant)
plant
- public void setLongText(@Nullable String longText)
longText
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductPlantText>
public boolean equals(Object o)
equals
in class VdmObject<ProductPlantText>
public int hashCode()
hashCode
in class VdmObject<ProductPlantText>
Copyright © 2018 SAP SE. All rights reserved.