public class ProductBasicText extends VdmEntity<ProductBasicText>
Modifier and Type | Class and Description |
---|---|
static class |
ProductBasicText.ProductBasicTextBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductBasicTextSelectable |
ALL_FIELDS
Selector for all available fields of ProductBasicText.
|
static ProductBasicTextField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ProductBasicTextField<String> |
LONG_TEXT
Use with available fluent helpers to apply the LongText field to query operations.
|
static ProductBasicTextField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
Constructor and Description |
---|
ProductBasicText() |
ProductBasicText(String product,
String language,
String longText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductBasicText.ProductBasicTextBuilder |
builder() |
boolean |
equals(Object o) |
static <T> ProductBasicTextField<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 |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
|
String |
getLongText()
Constraints: none
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Class<ProductBasicText> |
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 |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2 - the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
|
void |
setLongText(String longText)
Constraints: none
|
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 ProductBasicTextSelectable ALL_FIELDS
public static final ProductBasicTextField<String> PRODUCT
public static final ProductBasicTextField<String> LANGUAGE
public static final ProductBasicTextField<String> LONG_TEXT
public Class<ProductBasicText> getType()
getType
in class VdmObject<ProductBasicText>
public static <T> ProductBasicTextField<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 ProductBasicText.ProductBasicTextBuilder builder()
@Nullable public String getProduct()
@Nullable public String getLanguage()
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
@Nullable public ErpConfigContext getErpConfigContext()
public void setProduct(@Nullable String product)
product
- public void setLanguage(@Nullable String language)
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
language
- public void setLongText(@Nullable String longText)
longText
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductBasicText>
public boolean equals(Object o)
equals
in class VdmObject<ProductBasicText>
public int hashCode()
hashCode
in class VdmObject<ProductBasicText>
Copyright © 2018 SAP SE. All rights reserved.