public class ProductBasicText extends VdmEntity<ProductBasicText>
Original entity name from the Odata EDM: A_ProductBasicTextType
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.
|
changedOriginalFields
Constructor and Description |
---|
ProductBasicText() |
ProductBasicText(String product,
String language,
String longText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductBasicText.ProductBasicTextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
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.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getEndpointUrl() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: Language- 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: noneOriginal property name from the Odata EDM: LongText
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
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 Original property name from the Odata EDM: Language- 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: noneOriginal property name from the Odata EDM: LongText
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: Product
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
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 void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Alphanumeric key uniquely identifying the material.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
language
- The language key indicatespublic void setLongText(@Nullable String longText)
Original property name from the Odata EDM: LongText
longText
- Stringprotected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<ProductBasicText>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<ProductBasicText>
protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductBasicText>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductBasicText>
protected void fromMap(Map<String,Object> inputValues)
fromMap
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()
Original property name from the Odata EDM: Product
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
@Nullable public String getLongText()
Original property name from the Odata EDM: LongText
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<ProductBasicText>
erpConfigContext
- public String toString()
toString
in class VdmObject<ProductBasicText>
public boolean equals(Object o)
equals
in class VdmObject<ProductBasicText>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<ProductBasicText>
public int hashCode()
hashCode
in class VdmObject<ProductBasicText>
Copyright © 2018 SAP SE. All rights reserved.