Class CountryText.CountryTextBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.country.CountryText.CountryTextBuilder
- Enclosing class:
- CountryText
Helper class to allow for fluent creation of CountryText instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Navigation property to_Country for CountryText to single Country.(Key Field) Constraints: Not nullable, Maximum length: 3countryName(String countryName) Constraints: Not nullable, Maximum length: 50(Key Field) Constraints: Not nullable, Maximum length: 2nationalityLongName(String nationalityLongName) Constraints: Not nullable, Maximum length: 50nationalityName(String nationalityName) Constraints: Not nullable, Maximum length: 15toString()
-
Method Details
-
country
Navigation property to_Country for CountryText to single Country.- Parameters:
value- The Country to build this CountryText with.- Returns:
- This Builder to allow for a fluent interface.
-
country
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
value- The country to build this CountryText with.- Returns:
- This Builder to allow for a fluent interface.
-
language
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
this.
-
countryName
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CountryName
- Returns:
this.
-
nationalityName
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: NationalityName
- Returns:
this.
-
nationalityLongName
@Nonnull public CountryText.CountryTextBuilder nationalityLongName(@Nullable String nationalityLongName) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: NationalityLongName
- Returns:
this.
-
build
-
toString
-