public static final class CountryText.CountryTextBuilder extends Object
Modifier and Type | Method and Description |
---|---|
CountryText |
build() |
CountryText.CountryTextBuilder |
country(Country value)
Navigation property to_Country for CountryText to single Country.
|
CountryText.CountryTextBuilder |
country(String value)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
CountryText.CountryTextBuilder |
countryName(String countryName)
Constraints: Not nullable, Maximum length: 50
|
CountryText.CountryTextBuilder |
language(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
CountryText.CountryTextBuilder |
nationalityLongName(String nationalityLongName)
Constraints: Not nullable, Maximum length: 50
|
CountryText.CountryTextBuilder |
nationalityName(String nationalityName)
Constraints: Not nullable, Maximum length: 15
|
String |
toString() |
@Nonnull public CountryText.CountryTextBuilder country(Country value)
value
- The Country to build this CountryText with.@Nonnull public CountryText.CountryTextBuilder country(String value)
Original property name from the Odata EDM: 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.
value
- The country to build this CountryText with.@Nonnull public CountryText.CountryTextBuilder language(@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.
this
.@Nonnull public CountryText.CountryTextBuilder countryName(@Nullable String countryName)
Original property name from the Odata EDM: CountryName
The country description is used in the address format and on the user interface instead of the country key, or in addition to the country key.There are two fields for the country description. This fifty-character field, and a shorter fifteen-character field.Both fields contain the short description of the country, according to ISO 3166-1.For some countries, the fifteen-character field contains only a shortened form of the description, due to the field length.The fifty-character field contains the short description without abbreviations (but not the official, complete country name).
this
.@Nonnull public CountryText.CountryTextBuilder nationalityName(@Nullable String nationalityName)
Original property name from the Odata EDM: NationalityName
this
.@Nonnull public CountryText.CountryTextBuilder nationalityLongName(@Nullable String nationalityLongName)
Original property name from the Odata EDM: NationalityLongName
this
.@Nonnull public CountryText build()
Copyright © 2020 SAP SE. All rights reserved.