Class MerchandiseCategoryText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: MerchandiseCategoryText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MerchandiseCategoryText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<MerchandiseCategoryText>Selector for all available fields of MerchandiseCategoryText.static final SimpleProperty.String<MerchandiseCategoryText>static final SimpleProperty.String<MerchandiseCategoryText>static final SimpleProperty.String<MerchandiseCategoryText>static final SimpleProperty.String<MerchandiseCategoryText>Use with available request builders to apply the _MerchandiseCategoryTP 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
ConstructorsConstructorDescriptionMerchandiseCategoryText(String merchandiseCategory, String language, String merchandiseCategoryName, String merchandiseCategoryText, MerchandiseCategory to_MerchandiseCategoryTP) -
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: 9Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<MerchandiseCategory>Retrieval of associated MerchandiseCategory entity (one to one).getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMerchandiseCategory(String merchandiseCategory) (Key Field) Constraints: Not nullable, Maximum length: 9voidsetMerchandiseCategoryName(String merchandiseCategoryName) Constraints: Not nullable, Maximum length: 20voidsetMerchandiseCategoryText(String merchandiseCategoryText) Constraints: Not nullable, Maximum length: 60voidOverwrites the associated MerchandiseCategory entity for the loaded navigation property _MerchandiseCategoryTP.toString()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 MerchandiseCategoryText. -
MERCHANDISE_CATEGORY
-
LANGUAGE
-
MERCHANDISE_CATEGORY_NAME
-
MERCHANDISE_CATEGORY_TEXT
-
TO__MERCHANDISE_CATEGORY_TP
public static final NavigationProperty.Single<MerchandiseCategoryText,MerchandiseCategory> TO__MERCHANDISE_CATEGORY_TPUse with available request builders to apply the _MerchandiseCategoryTP navigation property to query operations.
-
-
Constructor Details
-
MerchandiseCategoryText
public MerchandiseCategoryText() -
MerchandiseCategoryText
public MerchandiseCategoryText(@Nullable String merchandiseCategory, @Nullable String language, @Nullable String merchandiseCategoryName, @Nullable String merchandiseCategoryText, @Nullable MerchandiseCategory to_MerchandiseCategoryTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MerchandiseCategoryText>
-
setMerchandiseCategory
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MerchandiseCategory
- Parameters:
merchandiseCategory- Material Group
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setMerchandiseCategoryName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MerchandiseCategoryName
- Parameters:
merchandiseCategoryName- Material Group Description
-
setMerchandiseCategoryText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: MerchandiseCategoryText
- Parameters:
merchandiseCategoryText- Description of the Material Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MerchandiseCategoryText>
-
getKey
- Overrides:
getKeyin classVdmObject<MerchandiseCategoryText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MerchandiseCategoryText>
-
fromMap
- Overrides:
fromMapin classVdmObject<MerchandiseCategoryText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MerchandiseCategoryText>
-
getMerchandiseCategoryTPIfPresent
Retrieval of associated MerchandiseCategory entity (one to one). This corresponds to the OData navigation property _MerchandiseCategoryTP.If the navigation property for an entity MerchandiseCategoryText 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 _MerchandiseCategoryTP is already loaded, the result
will contain the MerchandiseCategory entity. If not, an
Optionwith result stateemptyis returned.
-
setMerchandiseCategoryTP
Overwrites the associated MerchandiseCategory entity for the loaded navigation property _MerchandiseCategoryTP.- Parameters:
value- New MerchandiseCategory entity.
-
builder
-
getMerchandiseCategory
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MerchandiseCategory
- Returns:
- Material Group
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getMerchandiseCategoryName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MerchandiseCategoryName
- Returns:
- Material Group Description
-
getMerchandiseCategoryText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: MerchandiseCategoryText
- Returns:
- Description of the Material Group
-
toString
- Overrides:
toStringin classVdmObject<MerchandiseCategoryText>
-
equals
- Overrides:
equalsin classVdmEntity<MerchandiseCategoryText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MerchandiseCategoryText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MerchandiseCategoryText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MerchandiseCategoryText>
-