Class CnsldtnDistrChannelText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnDistrChannelText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnDistrChannelText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnDistrChannelText>Selector for all available fields of CnsldtnDistrChannelText.static final SimpleProperty.Boolean<CnsldtnDistrChannelText>static final SimpleProperty.String<CnsldtnDistrChannelText>static final SimpleProperty.String<CnsldtnDistrChannelText>static final SimpleProperty.String<CnsldtnDistrChannelText>Use with available request builders to apply the _DistributionChannel 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
ConstructorsConstructorDescriptionCnsldtnDistrChannelText(String language, String distributionChannel, String distributionChannelName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnDistributionChannel to_DistributionChannel) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected String(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<CnsldtnDistributionChannel>Retrieval of associated CnsldtnDistributionChannel entity (one to one).Constraints: Not nullable, Maximum length: 20protected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidOverwrites the associated CnsldtnDistributionChannel entity for the loaded navigation property _DistributionChannel.voidsetDistributionChannel(String distributionChannel) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetDistributionChannelName(String distributionChannelName) Constraints: Not nullable, Maximum length: 20voidsetLanguage(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 CnsldtnDistrChannelText. -
LANGUAGE
-
DISTRIBUTION_CHANNEL
-
DISTRIBUTION_CHANNEL_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnDistrChannelText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__DISTRIBUTION_CHANNEL
public static final NavigationProperty.Single<CnsldtnDistrChannelText,CnsldtnDistributionChannel> TO__DISTRIBUTION_CHANNELUse with available request builders to apply the _DistributionChannel navigation property to query operations.
-
-
Constructor Details
-
CnsldtnDistrChannelText
public CnsldtnDistrChannelText() -
CnsldtnDistrChannelText
public CnsldtnDistrChannelText(@Nullable String language, @Nullable String distributionChannel, @Nullable String distributionChannelName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnDistributionChannel to_DistributionChannel)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnDistrChannelText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setDistributionChannel
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setDistributionChannelName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: DistributionChannelName
- Parameters:
distributionChannelName- Distribution Channel Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnDistrChannelText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnDistrChannelText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnDistrChannelText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnDistrChannelText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnDistrChannelText>
-
getDistributionChannelIfPresent
@Nonnull public io.vavr.control.Option<CnsldtnDistributionChannel> getDistributionChannelIfPresent()Retrieval of associated CnsldtnDistributionChannel entity (one to one). This corresponds to the OData navigation property _DistributionChannel.If the navigation property for an entity CnsldtnDistrChannelText 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 _DistributionChannel is already loaded, the result will
contain the CnsldtnDistributionChannel entity. If not, an
Optionwith result stateemptyis returned.
-
setDistributionChannel
Overwrites the associated CnsldtnDistributionChannel entity for the loaded navigation property _DistributionChannel.- Parameters:
value- New CnsldtnDistributionChannel entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getDistributionChannel
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getDistributionChannelName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: DistributionChannelName
- Returns:
- Distribution Channel Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnDistrChannelText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnDistrChannelText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnDistrChannelText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnDistrChannelText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnDistrChannelText>
-