Class ProductGroupText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProductGroupText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productgroupdata.ProductGroupText
- All Implemented Interfaces:
VdmEntitySet
Product Group Text
Original entity name from the Odata EDM: ProductGroupTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductGroupText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductGroupText>Selector for all available fields of ProductGroupText.static final SimpleProperty.String<ProductGroupText>static final SimpleProperty.String<ProductGroupText>static final SimpleProperty.String<ProductGroupText>static final SimpleProperty.String<ProductGroupText>static final NavigationProperty.Single<ProductGroupText,ProductGroup> 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
ConstructorsConstructorDescriptionProductGroupText(String productGroup, String language, String productGroupName, String productGroupText, ProductGroup to_ProductGroup) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 9io.vavr.control.Option<ProductGroup>Retrieval of associated ProductGroup entity (one to one).Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProductGroup(ProductGroup value) Overwrites the associated ProductGroup 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: 20voidsetProductGroupText(String productGroupText) Constraints: Not nullable, Maximum length: 60toString()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 ProductGroupText. -
PRODUCT_GROUP
-
LANGUAGE
-
PRODUCT_GROUP_NAME
-
PRODUCT_GROUP_TEXT
-
TO__PRODUCT_GROUP
Use with available request builders to apply the _ProductGroup navigation property to query operations.
-
-
Constructor Details
-
ProductGroupText
public ProductGroupText() -
ProductGroupText
public ProductGroupText(@Nullable String productGroup, @Nullable String language, @Nullable String productGroupName, @Nullable String productGroupText, @Nullable ProductGroup to_ProductGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductGroupText>
-
setProductGroup
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup
- Parameters:
productGroup- Product Group
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProductGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProductGroupName
- Parameters:
productGroupName- Product Group Description
-
setProductGroupText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProductGroupText
- Parameters:
productGroupText- Description of the Material Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductGroupText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductGroupText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductGroupText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductGroupText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductGroupText>
-
getProductGroupIfPresent
Retrieval of associated ProductGroup entity (one to one). This corresponds to the OData navigation property _ProductGroup.If the navigation property for an entity ProductGroupText 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 ProductGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setProductGroup
Overwrites the associated ProductGroup entity for the loaded navigation property _ProductGroup.- Parameters:
value- New ProductGroup entity.
-
builder
-
getProductGroup
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProductGroup
- Returns:
- Product Group
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProductGroupName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProductGroupName
- Returns:
- Product Group Description
-
getProductGroupText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: ProductGroupText
- Returns:
- Description of the Material Group
-
toString
- Overrides:
toStringin classVdmObject<ProductGroupText>
-
equals
- Overrides:
equalsin classVdmEntity<ProductGroupText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductGroupText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductGroupText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductGroupText>
-