public class CountryText extends VdmEntity<CountryText>
Modifier and Type | Class and Description |
---|---|
static class |
CountryText.CountryTextBuilder |
Modifier and Type | Field and Description |
---|---|
static CountryTextSelectable |
ALL_FIELDS
Selector for all available fields of CountryText.
|
static CountryTextField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static CountryTextField<String> |
COUNTRY_NAME
Use with available fluent helpers to apply the CountryName field to query operations.
|
static CountryTextField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static CountryTextField<String> |
NATIONALITY_LONG_NAME
Use with available fluent helpers to apply the NationalityLongName field to query operations.
|
static CountryTextField<String> |
NATIONALITY_NAME
Use with available fluent helpers to apply the NationalityName field to query operations.
|
Constructor and Description |
---|
CountryText() |
CountryText(String country,
String language,
String countryName,
String nationalityName,
String nationalityLongName,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CountryText.CountryTextBuilder |
builder() |
boolean |
equals(Object o) |
static <T> CountryTextField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCountry()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getCountryName()
Constraints: Not nullable, Maximum length: 50
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getNationalityLongName()
Constraints: Not nullable, Maximum length: 50
|
String |
getNationalityName()
Constraints: Not nullable, Maximum length: 15
|
Class<CountryText> |
getType() |
int |
hashCode() |
void |
setCountry(String country)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCountryName(String countryName)
Constraints: Not nullable, Maximum length: 50
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setNationalityLongName(String nationalityLongName)
Constraints: Not nullable, Maximum length: 50
|
void |
setNationalityName(String nationalityName)
Constraints: Not nullable, Maximum length: 15
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CountryTextSelectable ALL_FIELDS
public static final CountryTextField<String> COUNTRY
public static final CountryTextField<String> LANGUAGE
public static final CountryTextField<String> COUNTRY_NAME
public static final CountryTextField<String> NATIONALITY_NAME
public static final CountryTextField<String> NATIONALITY_LONG_NAME
@Generated(value="lombok") public CountryText()
@ConstructorProperties(value={"country","language","countryName","nationalityName","nationalityLongName","erpConfigContext"}) @Generated(value="lombok") public CountryText(@Nullable String country, @Nullable String language, @Nullable String countryName, @Nullable String nationalityName, @Nullable String nationalityLongName, @Nullable ErpConfigContext erpConfigContext)
public Class<CountryText> getType()
getType
in class VdmObject<CountryText>
public static <T> CountryTextField<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.@Generated(value="lombok") public static CountryText.CountryTextBuilder builder()
@Nullable @Generated(value="lombok") public String getCountry()
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used. It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key. The country keys are determined at system installation in the global settings. The definition of the country key in the SAP system does not have to match political or government entities. Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable @Generated(value="lombok") 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 @Generated(value="lombok") public String getCountryName()
@Nullable @Generated(value="lombok") public String getNationalityName()
@Nullable @Generated(value="lombok") public String getNationalityLongName()
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setCountry(@Nullable String country)
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used. It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key. The country keys are determined at system installation in the global settings. The definition of the country key in the SAP system does not have to match political or government entities. Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
country
- @Generated(value="lombok") 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
- @Generated(value="lombok") public void setCountryName(@Nullable String countryName)
countryName
- @Generated(value="lombok") public void setNationalityName(@Nullable String nationalityName)
nationalityName
- @Generated(value="lombok") public void setNationalityLongName(@Nullable String nationalityLongName)
nationalityLongName
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<CountryText>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<CountryText>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<CountryText>
Copyright © 2018 SAP SE. All rights reserved.