Class CnsldtnProductGroupText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnProductGroupText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnProductGroupText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnProductGroupText>Selector for all available fields of CnsldtnProductGroupText.static final SimpleProperty.Boolean<CnsldtnProductGroupText>static final SimpleProperty.String<CnsldtnProductGroupText>static final SimpleProperty.String<CnsldtnProductGroupText>static final SimpleProperty.String<CnsldtnProductGroupText>Use with available request builders to apply the _ProductGroup 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
ConstructorsConstructorDescriptionCnsldtnProductGroupText(String language, String productGroup, String productGroupName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnProductGroup to_ProductGroup) -
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: 9io.vavr.control.Option<CnsldtnProductGroup>Retrieval of associated CnsldtnProductGroup 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 CnsldtnProductGroup entity for the loaded navigation property _ProductGroup.voidsetProductGroup(String productGroup) (Key Field) Constraints: Not nullable, Maximum length: 9voidsetProductGroupName(String productGroupName) 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 CnsldtnProductGroupText. -
LANGUAGE
-
PRODUCT_GROUP
-
PRODUCT_GROUP_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnProductGroupText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__PRODUCT_GROUP
public static final NavigationProperty.Single<CnsldtnProductGroupText,CnsldtnProductGroup> TO__PRODUCT_GROUPUse with available request builders to apply the _ProductGroup navigation property to query operations.
-
-
Constructor Details
-
CnsldtnProductGroupText
public CnsldtnProductGroupText() -
CnsldtnProductGroupText
public CnsldtnProductGroupText(@Nullable String language, @Nullable String productGroup, @Nullable String productGroupName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnProductGroup to_ProductGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnProductGroupText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProductGroup
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup
- Parameters:
productGroup- Product Group
-
setProductGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProductGroupName
- Parameters:
productGroupName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnProductGroupText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnProductGroupText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnProductGroupText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnProductGroupText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnProductGroupText>
-
getProductGroupIfPresent
Retrieval of associated CnsldtnProductGroup entity (one to one). This corresponds to the OData navigation property _ProductGroup.If the navigation property for an entity CnsldtnProductGroupText 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 _ProductGroup is already loaded, the result will
contain the CnsldtnProductGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setProductGroup
Overwrites the associated CnsldtnProductGroup entity for the loaded navigation property _ProductGroup.- Parameters:
value- New CnsldtnProductGroup entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProductGroup
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup
- Returns:
- Product Group
-
getProductGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProductGroupName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnProductGroupText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnProductGroupText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnProductGroupText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnProductGroupText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnProductGroupText>
-