Class MrchdsCatHierarchyNode
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: MrchdsCatHierarchyNode_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MrchdsCatHierarchyNode instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<MrchdsCatHierarchyNode,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<MrchdsCatHierarchyNode>Selector for all available fields of MrchdsCatHierarchyNode.static final SimpleProperty.String<MrchdsCatHierarchyNode>static final SimpleProperty.String<MrchdsCatHierarchyNode>Use with available request builders to apply the _MCHierNodeCVRstrnTP navigation property to query operations.Use with available request builders to apply the _MrchdsCatHierNodeCharcTP navigation property to query operations.Use with available request builders to apply the _MrchdsCatHierNodeTextTP 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
ConstructorsConstructorDescriptionMrchdsCatHierarchyNode(String mrchdsCategoryHierarchyNode, String parentMrchdsCatHierarchyNode, Collection<SAP__Message> _Messages, List<MrchdsCatHierNodeCVRstrn> to_MCHierNodeCVRstrnTP, List<MrchdsCatHierNodeCharc> to_MrchdsCatHierNodeCharcTP, List<MrchdsCatHierNodeText> to_MrchdsCatHierNodeTextTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMCHierNodeCVRstrnTP(MrchdsCatHierNodeCVRstrn... entity) Adds elements to the list of associated MrchdsCatHierNodeCVRstrn entities.voidAdds elements to the list of associated MrchdsCatHierNodeCharc entities.voidaddMrchdsCatHierNodeTextTP(MrchdsCatHierNodeText... entity) Adds elements to the list of associated MrchdsCatHierNodeText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<MrchdsCatHierNodeCVRstrn>>Retrieval of associated MrchdsCatHierNodeCVRstrn entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<List<MrchdsCatHierNodeCharc>>Retrieval of associated MrchdsCatHierNodeCharc entities (one to many).io.vavr.control.Option<List<MrchdsCatHierNodeText>>Retrieval of associated MrchdsCatHierNodeText entities (one to many).Constraints: Not nullable, Maximum length: 18getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the list of associated MrchdsCatHierNodeCVRstrn entities for the loaded navigation property _MCHierNodeCVRstrnTP.voidsetMrchdsCategoryHierarchyNode(String mrchdsCategoryHierarchyNode) (Key Field) Constraints: Not nullable, Maximum length: 18voidOverwrites the list of associated MrchdsCatHierNodeCharc entities for the loaded navigation property _MrchdsCatHierNodeCharcTP.voidOverwrites the list of associated MrchdsCatHierNodeText entities for the loaded navigation property _MrchdsCatHierNodeTextTP.voidsetParentMrchdsCatHierarchyNode(String parentMrchdsCatHierarchyNode) Constraints: Not nullable, Maximum length: 18toString()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 MrchdsCatHierarchyNode. -
MRCHDS_CATEGORY_HIERARCHY_NODE
-
PARENT_MRCHDS_CAT_HIERARCHY_NODE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__M_C_HIER_NODE_CV_RSTRN_TP
public static final NavigationProperty.Collection<MrchdsCatHierarchyNode,MrchdsCatHierNodeCVRstrn> TO__M_C_HIER_NODE_CV_RSTRN_TPUse with available request builders to apply the _MCHierNodeCVRstrnTP navigation property to query operations. -
TO__MRCHDS_CAT_HIER_NODE_CHARC_TP
public static final NavigationProperty.Collection<MrchdsCatHierarchyNode,MrchdsCatHierNodeCharc> TO__MRCHDS_CAT_HIER_NODE_CHARC_TPUse with available request builders to apply the _MrchdsCatHierNodeCharcTP navigation property to query operations. -
TO__MRCHDS_CAT_HIER_NODE_TEXT_TP
public static final NavigationProperty.Collection<MrchdsCatHierarchyNode,MrchdsCatHierNodeText> TO__MRCHDS_CAT_HIER_NODE_TEXT_TPUse with available request builders to apply the _MrchdsCatHierNodeTextTP navigation property to query operations.
-
-
Constructor Details
-
MrchdsCatHierarchyNode
public MrchdsCatHierarchyNode() -
MrchdsCatHierarchyNode
public MrchdsCatHierarchyNode(@Nullable String mrchdsCategoryHierarchyNode, @Nullable String parentMrchdsCatHierarchyNode, @Nullable Collection<SAP__Message> _Messages, List<MrchdsCatHierNodeCVRstrn> to_MCHierNodeCVRstrnTP, List<MrchdsCatHierNodeCharc> to_MrchdsCatHierNodeCharcTP, List<MrchdsCatHierNodeText> to_MrchdsCatHierNodeTextTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MrchdsCatHierarchyNode>
-
setMrchdsCategoryHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Parameters:
mrchdsCategoryHierarchyNode- Merchandise Category Hierarchy Node
-
setParentMrchdsCatHierarchyNode
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ParentMrchdsCatHierarchyNode
- Parameters:
parentMrchdsCatHierarchyNode- Class number
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MrchdsCatHierarchyNode>
-
getKey
- Overrides:
getKeyin classVdmObject<MrchdsCatHierarchyNode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MrchdsCatHierarchyNode>
-
fromMap
- Overrides:
fromMapin classVdmObject<MrchdsCatHierarchyNode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MrchdsCatHierarchyNode>
-
getMCHierNodeCVRstrnTPIfPresent
@Nonnull public io.vavr.control.Option<List<MrchdsCatHierNodeCVRstrn>> getMCHierNodeCVRstrnTPIfPresent()Retrieval of associated MrchdsCatHierNodeCVRstrn entities (one to many). This corresponds to the OData navigation property _MCHierNodeCVRstrnTP.If the navigation property for an entity MrchdsCatHierarchyNode 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 _MCHierNodeCVRstrnTP is already loaded, the result will
contain the MrchdsCatHierNodeCVRstrn entities. If not, an
Optionwith result stateemptyis returned.
-
setMCHierNodeCVRstrnTP
Overwrites the list of associated MrchdsCatHierNodeCVRstrn entities for the loaded navigation property _MCHierNodeCVRstrnTP.If the navigation property _MCHierNodeCVRstrnTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MrchdsCatHierNodeCVRstrn entities.
-
addMCHierNodeCVRstrnTP
Adds elements to the list of associated MrchdsCatHierNodeCVRstrn entities. This corresponds to the OData navigation property _MCHierNodeCVRstrnTP.If the navigation property _MCHierNodeCVRstrnTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MrchdsCatHierNodeCVRstrn entities.
-
getMrchdsCatHierNodeCharcTPIfPresent
@Nonnull public io.vavr.control.Option<List<MrchdsCatHierNodeCharc>> getMrchdsCatHierNodeCharcTPIfPresent()Retrieval of associated MrchdsCatHierNodeCharc entities (one to many). This corresponds to the OData navigation property _MrchdsCatHierNodeCharcTP.If the navigation property for an entity MrchdsCatHierarchyNode 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 _MrchdsCatHierNodeCharcTP is already loaded, the result
will contain the MrchdsCatHierNodeCharc entities. If not, an
Optionwith result stateemptyis returned.
-
setMrchdsCatHierNodeCharcTP
Overwrites the list of associated MrchdsCatHierNodeCharc entities for the loaded navigation property _MrchdsCatHierNodeCharcTP.If the navigation property _MrchdsCatHierNodeCharcTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MrchdsCatHierNodeCharc entities.
-
addMrchdsCatHierNodeCharcTP
Adds elements to the list of associated MrchdsCatHierNodeCharc entities. This corresponds to the OData navigation property _MrchdsCatHierNodeCharcTP.If the navigation property _MrchdsCatHierNodeCharcTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MrchdsCatHierNodeCharc entities.
-
getMrchdsCatHierNodeTextTPIfPresent
@Nonnull public io.vavr.control.Option<List<MrchdsCatHierNodeText>> getMrchdsCatHierNodeTextTPIfPresent()Retrieval of associated MrchdsCatHierNodeText entities (one to many). This corresponds to the OData navigation property _MrchdsCatHierNodeTextTP.If the navigation property for an entity MrchdsCatHierarchyNode 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 _MrchdsCatHierNodeTextTP is already loaded, the result
will contain the MrchdsCatHierNodeText entities. If not, an
Optionwith result stateemptyis returned.
-
setMrchdsCatHierNodeTextTP
Overwrites the list of associated MrchdsCatHierNodeText entities for the loaded navigation property _MrchdsCatHierNodeTextTP.If the navigation property _MrchdsCatHierNodeTextTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MrchdsCatHierNodeText entities.
-
addMrchdsCatHierNodeTextTP
Adds elements to the list of associated MrchdsCatHierNodeText entities. This corresponds to the OData navigation property _MrchdsCatHierNodeTextTP.If the navigation property _MrchdsCatHierNodeTextTP of a queried MrchdsCatHierarchyNode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MrchdsCatHierNodeText entities.
-
builder
-
getMrchdsCategoryHierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: MrchdsCategoryHierarchyNode
- Returns:
- Merchandise Category Hierarchy Node
-
getParentMrchdsCatHierarchyNode
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ParentMrchdsCatHierarchyNode
- Returns:
- Class number
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<MrchdsCatHierarchyNode>
-
equals
- Overrides:
equalsin classVdmEntity<MrchdsCatHierarchyNode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MrchdsCatHierarchyNode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MrchdsCatHierarchyNode>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MrchdsCatHierarchyNode>
-