java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MrchdsCatHierarchyNode>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.merchandisecategoryhierarchynode.MrchdsCatHierarchyNode
All Implemented Interfaces:
VdmEntitySet

public class MrchdsCatHierarchyNode extends VdmEntity<MrchdsCatHierarchyNode> implements VdmEntitySet
Merchandise Category Hierarchy Node

Original entity name from the Odata EDM: MrchdsCatHierarchyNode_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<MrchdsCatHierarchyNode> getType()
      Specified by:
      getType in class VdmObject<MrchdsCatHierarchyNode>
    • setMrchdsCategoryHierarchyNode

      public void setMrchdsCategoryHierarchyNode(@Nullable String mrchdsCategoryHierarchyNode)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: MrchdsCategoryHierarchyNode

      Parameters:
      mrchdsCategoryHierarchyNode - Merchandise Category Hierarchy Node
    • setParentMrchdsCatHierarchyNode

      public void setParentMrchdsCatHierarchyNode(@Nullable String parentMrchdsCatHierarchyNode)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ParentMrchdsCatHierarchyNode

      Parameters:
      parentMrchdsCatHierarchyNode - Class number
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<MrchdsCatHierarchyNode>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<MrchdsCatHierarchyNode>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<MrchdsCatHierarchyNode>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<MrchdsCatHierarchyNode>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MrchdsCatHierarchyNode>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<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 Option result state will be empty.

      Returns:
      If the information for navigation property _MCHierNodeCVRstrnTP is already loaded, the result will contain the MrchdsCatHierNodeCVRstrn entities. If not, an Option with result state empty is returned.
    • setMCHierNodeCVRstrnTP

      public void setMCHierNodeCVRstrnTP(@Nonnull List<MrchdsCatHierNodeCVRstrn> value)
      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

      public void addMCHierNodeCVRstrnTP(MrchdsCatHierNodeCVRstrn... entity)
      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 Option result state will be empty.

      Returns:
      If the information for navigation property _MrchdsCatHierNodeCharcTP is already loaded, the result will contain the MrchdsCatHierNodeCharc entities. If not, an Option with result state empty is returned.
    • setMrchdsCatHierNodeCharcTP

      public void setMrchdsCatHierNodeCharcTP(@Nonnull List<MrchdsCatHierNodeCharc> value)
      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

      public void addMrchdsCatHierNodeCharcTP(MrchdsCatHierNodeCharc... entity)
      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 Option result state will be empty.

      Returns:
      If the information for navigation property _MrchdsCatHierNodeTextTP is already loaded, the result will contain the MrchdsCatHierNodeText entities. If not, an Option with result state empty is returned.
    • setMrchdsCatHierNodeTextTP

      public void setMrchdsCatHierNodeTextTP(@Nonnull List<MrchdsCatHierNodeText> value)
      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

      public void addMrchdsCatHierNodeTextTP(MrchdsCatHierNodeText... entity)
      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

      @Nonnull public static MrchdsCatHierarchyNode.MrchdsCatHierarchyNodeBuilder builder()
    • getMrchdsCategoryHierarchyNode

      @Nullable public String getMrchdsCategoryHierarchyNode()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: MrchdsCategoryHierarchyNode

      Returns:
      Merchandise Category Hierarchy Node
    • getParentMrchdsCatHierarchyNode

      @Nullable public String getParentMrchdsCatHierarchyNode()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: ParentMrchdsCatHierarchyNode

      Returns:
      Class number
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<MrchdsCatHierarchyNode>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<MrchdsCatHierarchyNode>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<MrchdsCatHierarchyNode>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<MrchdsCatHierarchyNode>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<MrchdsCatHierarchyNode>