Class CnsldtnProductText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnProductText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationproduct.CnsldtnProductText
- All Implemented Interfaces:
VdmEntitySet
Consolidation Product - Text
Original entity name from the Odata EDM: CnsldtnProductText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnProductText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnProductText>Selector for all available fields of CnsldtnProductText.static final SimpleProperty.Boolean<CnsldtnProductText>static final SimpleProperty.String<CnsldtnProductText>static final SimpleProperty.String<CnsldtnProductText>static final SimpleProperty.String<CnsldtnProductText>static final NavigationProperty.Single<CnsldtnProductText,CnsldtnProduct> Use with available request builders to apply the _Product 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
ConstructorsConstructorDescriptionCnsldtnProductText(String language, String product, String productName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnProduct to_Product) -
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: 18io.vavr.control.Option<CnsldtnProduct>Retrieval of associated CnsldtnProduct entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProduct(CnsldtnProduct value) Overwrites the associated CnsldtnProduct entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductName(String productName) Constraints: Not nullable, Maximum length: 40toString()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 CnsldtnProductText. -
LANGUAGE
-
PRODUCT
-
PRODUCT_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations.
-
-
Constructor Details
-
CnsldtnProductText
public CnsldtnProductText() -
CnsldtnProductText
public CnsldtnProductText(@Nullable String language, @Nullable String product, @Nullable String productName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnProduct to_Product)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnProductText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product
-
setProductName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductName
- Parameters:
productName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnProductText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnProductText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnProductText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnProductText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnProductText>
-
getProductIfPresent
Retrieval of associated CnsldtnProduct entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity CnsldtnProductText 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 _Product is already loaded, the result will contain the
CnsldtnProduct entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated CnsldtnProduct entity for the loaded navigation property _Product.- Parameters:
value- New CnsldtnProduct entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product
-
getProductName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProductName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnProductText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnProductText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnProductText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnProductText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnProductText>
-