Class CnsldtnBusinessAreaText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnBusinessAreaText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnBusinessAreaText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnBusinessAreaText>Selector for all available fields of CnsldtnBusinessAreaText.static final SimpleProperty.Boolean<CnsldtnBusinessAreaText>static final SimpleProperty.String<CnsldtnBusinessAreaText>static final SimpleProperty.String<CnsldtnBusinessAreaText>static final SimpleProperty.String<CnsldtnBusinessAreaText>static final NavigationProperty.Single<CnsldtnBusinessAreaText,CnsldtnCountry> Use with available request builders to apply the _Country navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionCnsldtnBusinessAreaText(String language, String country, String countryName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnCountry to_Country) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<CnsldtnCountry>Retrieval of associated CnsldtnCountry entity (one to one).Constraints: Not nullable, Maximum length: 50protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetCountry(CnsldtnCountry value) Overwrites the associated CnsldtnCountry entity for the loaded navigation property _Country.voidsetCountry(String country) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetCountryName(String countryName) Constraints: Not nullable, Maximum length: 50voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CnsldtnBusinessAreaText. -
LANGUAGE
-
COUNTRY
-
COUNTRY_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnBusinessAreaText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__COUNTRY
Use with available request builders to apply the _Country navigation property to query operations.
-
-
Constructor Details
-
CnsldtnBusinessAreaText
public CnsldtnBusinessAreaText() -
CnsldtnBusinessAreaText
public CnsldtnBusinessAreaText(@Nullable String language, @Nullable String country, @Nullable String countryName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnCountry to_Country)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnBusinessAreaText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region in Consolidation
-
setCountryName
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CountryName
- Parameters:
countryName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnBusinessAreaText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnBusinessAreaText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnBusinessAreaText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnBusinessAreaText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnBusinessAreaText>
-
getCountryIfPresent
Retrieval of associated CnsldtnCountry entity (one to one). This corresponds to the OData navigation property _Country.If the navigation property for an entity CnsldtnBusinessAreaText has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Country is already loaded, the result will contain the
CnsldtnCountry entity. If not, an
Optionwith result stateemptyis returned.
-
setCountry
Overwrites the associated CnsldtnCountry entity for the loaded navigation property _Country.- Parameters:
value- New CnsldtnCountry entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region in Consolidation
-
getCountryName
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CountryName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnBusinessAreaText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnBusinessAreaText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnBusinessAreaText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnBusinessAreaText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnBusinessAreaText>
-