Class MrchdsCatCharacteristic
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MrchdsCatCharacteristic>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.merchandisecategory.MrchdsCatCharacteristic
- All Implemented Interfaces:
VdmEntitySet
public class MrchdsCatCharacteristic
extends VdmEntity<MrchdsCatCharacteristic>
implements VdmEntitySet
Merchandise Category Characteristic
Original entity name from the Odata EDM: MrchdsCatCharacteristic_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MrchdsCatCharacteristic instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<MrchdsCatCharacteristic>Selector for all available fields of MrchdsCatCharacteristic.static final SimpleProperty.String<MrchdsCatCharacteristic>static final SimpleProperty.String<MrchdsCatCharacteristic>static final SimpleProperty.String<MrchdsCatCharacteristic>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
ConstructorsConstructorDescriptionMrchdsCatCharacteristic(String merchandiseCategory, String characteristic, String charcInternalID, MerchandiseCategory to_MerchandiseCategoryTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 9io.vavr.control.Option<MerchandiseCategory>Retrieval of associated MerchandiseCategory entity (one to one).getType()inthashCode()voidsetCharacteristic(String characteristic) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetCharcInternalID(String charcInternalID) Constraints: Not nullable, Maximum length: 10voidsetMerchandiseCategory(String merchandiseCategory) (Key Field) Constraints: Not nullable, Maximum length: 9voidOverwrites 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 MrchdsCatCharacteristic. -
MERCHANDISE_CATEGORY
-
CHARACTERISTIC
-
CHARC_INTERNAL_ID
-
TO__MERCHANDISE_CATEGORY_TP
public static final NavigationProperty.Single<MrchdsCatCharacteristic,MerchandiseCategory> TO__MERCHANDISE_CATEGORY_TPUse with available request builders to apply the _MerchandiseCategoryTP navigation property to query operations.
-
-
Constructor Details
-
MrchdsCatCharacteristic
public MrchdsCatCharacteristic() -
MrchdsCatCharacteristic
public MrchdsCatCharacteristic(@Nullable String merchandiseCategory, @Nullable String characteristic, @Nullable String charcInternalID, @Nullable MerchandiseCategory to_MerchandiseCategoryTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MrchdsCatCharacteristic>
-
setMerchandiseCategory
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MerchandiseCategory
- Parameters:
merchandiseCategory- Merchandise Category
-
setCharacteristic
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: Characteristic
- Parameters:
characteristic- Characteristic Name
-
setCharcInternalID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CharcInternalID
- Parameters:
charcInternalID- Characteristic Internal ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MrchdsCatCharacteristic>
-
getKey
- Overrides:
getKeyin classVdmObject<MrchdsCatCharacteristic>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MrchdsCatCharacteristic>
-
fromMap
- Overrides:
fromMapin classVdmObject<MrchdsCatCharacteristic>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MrchdsCatCharacteristic>
-
getMerchandiseCategoryTPIfPresent
Retrieval of associated MerchandiseCategory entity (one to one). This corresponds to the OData navigation property _MerchandiseCategoryTP.If the navigation property for an entity MrchdsCatCharacteristic 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:
- Merchandise Category
-
getCharacteristic
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: Characteristic
- Returns:
- Characteristic Name
-
getCharcInternalID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CharcInternalID
- Returns:
- Characteristic Internal ID
-
toString
- Overrides:
toStringin classVdmObject<MrchdsCatCharacteristic>
-
equals
- Overrides:
equalsin classVdmEntity<MrchdsCatCharacteristic>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MrchdsCatCharacteristic>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MrchdsCatCharacteristic>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MrchdsCatCharacteristic>
-