Class CnsldtnSalesDistrictText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnSalesDistrictText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnSalesDistrictText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnSalesDistrictText>Selector for all available fields of CnsldtnSalesDistrictText.static final SimpleProperty.Boolean<CnsldtnSalesDistrictText>static final SimpleProperty.String<CnsldtnSalesDistrictText>static final SimpleProperty.String<CnsldtnSalesDistrictText>static final SimpleProperty.String<CnsldtnSalesDistrictText>Use with available request builders to apply the _SalesDistrict 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
ConstructorsConstructorDescriptionCnsldtnSalesDistrictText(String language, String salesDistrict, String salesDistrictName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnSalesDistrict to_SalesDistrict) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<CnsldtnSalesDistrict>Retrieval of associated CnsldtnSalesDistrict entity (one to one).Constraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated CnsldtnSalesDistrict entity for the loaded navigation property _SalesDistrict.voidsetSalesDistrict(String salesDistrict) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetSalesDistrictName(String salesDistrictName) Constraints: Not nullable, Maximum length: 20toString()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 CnsldtnSalesDistrictText. -
LANGUAGE
-
SALES_DISTRICT
-
SALES_DISTRICT_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnSalesDistrictText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__SALES_DISTRICT
public static final NavigationProperty.Single<CnsldtnSalesDistrictText,CnsldtnSalesDistrict> TO__SALES_DISTRICTUse with available request builders to apply the _SalesDistrict navigation property to query operations.
-
-
Constructor Details
-
CnsldtnSalesDistrictText
public CnsldtnSalesDistrictText() -
CnsldtnSalesDistrictText
public CnsldtnSalesDistrictText(@Nullable String language, @Nullable String salesDistrict, @Nullable String salesDistrictName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnSalesDistrict to_SalesDistrict)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnSalesDistrictText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSalesDistrict
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SalesDistrict
- Parameters:
salesDistrict- Sales District
-
setSalesDistrictName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SalesDistrictName
- Parameters:
salesDistrictName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnSalesDistrictText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnSalesDistrictText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnSalesDistrictText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnSalesDistrictText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnSalesDistrictText>
-
getSalesDistrictIfPresent
Retrieval of associated CnsldtnSalesDistrict entity (one to one). This corresponds to the OData navigation property _SalesDistrict.If the navigation property for an entity CnsldtnSalesDistrictText 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 _SalesDistrict is already loaded, the result will
contain the CnsldtnSalesDistrict entity. If not, an
Optionwith result stateemptyis returned.
-
setSalesDistrict
Overwrites the associated CnsldtnSalesDistrict entity for the loaded navigation property _SalesDistrict.- Parameters:
value- New CnsldtnSalesDistrict entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSalesDistrict
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SalesDistrict
- Returns:
- Sales District
-
getSalesDistrictName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SalesDistrictName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnSalesDistrictText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnSalesDistrictText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnSalesDistrictText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnSalesDistrictText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnSalesDistrictText>
-