Class MrchdsCatHierNodeCharc
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MrchdsCatHierNodeCharc>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.merchandisecategoryhierarchynode.MrchdsCatHierNodeCharc
- All Implemented Interfaces:
VdmEntitySet
public class MrchdsCatHierNodeCharc
extends VdmEntity<MrchdsCatHierNodeCharc>
implements VdmEntitySet
MCHN Characteristic
Original entity name from the Odata EDM: MrchdsCatHierNodeCharc_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MrchdsCatHierNodeCharc instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<MrchdsCatHierNodeCharc>Selector for all available fields of MrchdsCatHierNodeCharc.static final SimpleProperty.String<MrchdsCatHierNodeCharc>static final SimpleProperty.String<MrchdsCatHierNodeCharc>static final SimpleProperty.String<MrchdsCatHierNodeCharc>Use with available request builders to apply the _MrchdsCatHierarchyNodeTP 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
ConstructorsConstructorDescriptionMrchdsCatHierNodeCharc(String mrchdsCategoryHierarchyNode, String characteristic, String charcInternalID, MrchdsCatHierarchyNode to_MrchdsCatHierarchyNodeTP) -
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: 18io.vavr.control.Option<MrchdsCatHierarchyNode>Retrieval of associated MrchdsCatHierarchyNode entity (one to one).getType()inthashCode()voidsetCharacteristic(String characteristic) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetCharcInternalID(String charcInternalID) Constraints: Not nullable, Maximum length: 10voidsetMrchdsCategoryHierarchyNode(String mrchdsCategoryHierarchyNode) (Key Field) Constraints: Not nullable, Maximum length: 18voidOverwrites the associated MrchdsCatHierarchyNode entity for the loaded navigation property _MrchdsCatHierarchyNodeTP.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 MrchdsCatHierNodeCharc. -
MRCHDS_CATEGORY_HIERARCHY_NODE
-
CHARACTERISTIC
-
CHARC_INTERNAL_ID
-
TO__MRCHDS_CAT_HIERARCHY_NODE_TP
public static final NavigationProperty.Single<MrchdsCatHierNodeCharc,MrchdsCatHierarchyNode> TO__MRCHDS_CAT_HIERARCHY_NODE_TPUse with available request builders to apply the _MrchdsCatHierarchyNodeTP navigation property to query operations.
-
-
Constructor Details
-
MrchdsCatHierNodeCharc
public MrchdsCatHierNodeCharc() -
MrchdsCatHierNodeCharc
public MrchdsCatHierNodeCharc(@Nullable String mrchdsCategoryHierarchyNode, @Nullable String characteristic, @Nullable String charcInternalID, @Nullable MrchdsCatHierarchyNode to_MrchdsCatHierarchyNodeTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MrchdsCatHierNodeCharc>
-
setMrchdsCategoryHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Parameters:
mrchdsCategoryHierarchyNode- Merchandise Category Hierarchy Node
-
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<MrchdsCatHierNodeCharc>
-
getKey
- Overrides:
getKeyin classVdmObject<MrchdsCatHierNodeCharc>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MrchdsCatHierNodeCharc>
-
fromMap
- Overrides:
fromMapin classVdmObject<MrchdsCatHierNodeCharc>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MrchdsCatHierNodeCharc>
-
getMrchdsCatHierarchyNodeTPIfPresent
@Nonnull public io.vavr.control.Option<MrchdsCatHierarchyNode> getMrchdsCatHierarchyNodeTPIfPresent()Retrieval of associated MrchdsCatHierarchyNode entity (one to one). This corresponds to the OData navigation property _MrchdsCatHierarchyNodeTP.If the navigation property for an entity MrchdsCatHierNodeCharc 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 _MrchdsCatHierarchyNodeTP is already loaded, the result
will contain the MrchdsCatHierarchyNode entity. If not, an
Optionwith result stateemptyis returned.
-
setMrchdsCatHierarchyNodeTP
Overwrites the associated MrchdsCatHierarchyNode entity for the loaded navigation property _MrchdsCatHierarchyNodeTP.- Parameters:
value- New MrchdsCatHierarchyNode entity.
-
builder
-
getMrchdsCategoryHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Returns:
- Merchandise Category Hierarchy Node
-
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<MrchdsCatHierNodeCharc>
-
equals
- Overrides:
equalsin classVdmEntity<MrchdsCatHierNodeCharc>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MrchdsCatHierNodeCharc>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MrchdsCatHierNodeCharc>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MrchdsCatHierNodeCharc>
-