Class CnsldtnCustomerGroupText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnCustomerGroupText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnCustomerGroupText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnCustomerGroupText>Selector for all available fields of CnsldtnCustomerGroupText.static final SimpleProperty.Boolean<CnsldtnCustomerGroupText>static final SimpleProperty.String<CnsldtnCustomerGroupText>static final SimpleProperty.String<CnsldtnCustomerGroupText>static final SimpleProperty.String<CnsldtnCustomerGroupText>Use with available request builders to apply the _CustomerGroup 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
ConstructorsConstructorDescriptionCnsldtnCustomerGroupText(String language, String customerGroup, String customerGroupName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnCustomerGroup to_CustomerGroup) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<CnsldtnCustomerGroup>Retrieval of associated CnsldtnCustomerGroup entity (one to one).Constraints: Not nullable, Maximum length: 20protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidOverwrites the associated CnsldtnCustomerGroup entity for the loaded navigation property _CustomerGroup.voidsetCustomerGroup(String customerGroup) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetCustomerGroupName(String customerGroupName) 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 CnsldtnCustomerGroupText. -
LANGUAGE
-
CUSTOMER_GROUP
-
CUSTOMER_GROUP_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnCustomerGroupText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__CUSTOMER_GROUP
public static final NavigationProperty.Single<CnsldtnCustomerGroupText,CnsldtnCustomerGroup> TO__CUSTOMER_GROUPUse with available request builders to apply the _CustomerGroup navigation property to query operations.
-
-
Constructor Details
-
CnsldtnCustomerGroupText
public CnsldtnCustomerGroupText() -
CnsldtnCustomerGroupText
public CnsldtnCustomerGroupText(@Nullable String language, @Nullable String customerGroup, @Nullable String customerGroupName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnCustomerGroup to_CustomerGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnCustomerGroupText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setCustomerGroup
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CustomerGroup
- Parameters:
customerGroup- Consolidation Customer Group
-
setCustomerGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CustomerGroupName
- Parameters:
customerGroupName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnCustomerGroupText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnCustomerGroupText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnCustomerGroupText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnCustomerGroupText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnCustomerGroupText>
-
getCustomerGroupIfPresent
Retrieval of associated CnsldtnCustomerGroup entity (one to one). This corresponds to the OData navigation property _CustomerGroup.If the navigation property for an entity CnsldtnCustomerGroupText 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 _CustomerGroup is already loaded, the result will
contain the CnsldtnCustomerGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setCustomerGroup
Overwrites the associated CnsldtnCustomerGroup entity for the loaded navigation property _CustomerGroup.- Parameters:
value- New CnsldtnCustomerGroup entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getCustomerGroup
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CustomerGroup
- Returns:
- Consolidation Customer Group
-
getCustomerGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CustomerGroupName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnCustomerGroupText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnCustomerGroupText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnCustomerGroupText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnCustomerGroupText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnCustomerGroupText>
-