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

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

Original entity name from the Odata EDM: MrchdsCatHierNodeText_Type

  • Field Details

  • Constructor Details

    • MrchdsCatHierNodeText

      public MrchdsCatHierNodeText()
    • MrchdsCatHierNodeText

      public MrchdsCatHierNodeText(@Nullable String mrchdsCategoryHierarchyNode, @Nullable String language, @Nullable String mrchdsCatHierNodeText, @Nullable MrchdsCatHierarchyNode to_MrchdsCatHierarchyNodeTP)
  • Method Details

    • getType

      @Nonnull public Class<MrchdsCatHierNodeText> getType()
      Specified by:
      getType in class VdmObject<MrchdsCatHierNodeText>
    • 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
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setMrchdsCatHierNodeText

      public void setMrchdsCatHierNodeText(@Nullable String mrchdsCatHierNodeText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MrchdsCatHierNodeText

      Parameters:
      mrchdsCatHierNodeText - Keywords
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<MrchdsCatHierNodeText>
    • 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 MrchdsCatHierNodeText 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 _MrchdsCatHierarchyNodeTP is already loaded, the result will contain the MrchdsCatHierarchyNode entity. If not, an Option with result state empty is returned.
    • setMrchdsCatHierarchyNodeTP

      public void setMrchdsCatHierarchyNodeTP(MrchdsCatHierarchyNode value)
      Overwrites the associated MrchdsCatHierarchyNode entity for the loaded navigation property _MrchdsCatHierarchyNodeTP.
      Parameters:
      value - New MrchdsCatHierarchyNode entity.
    • builder

      @Nonnull public static MrchdsCatHierNodeText.MrchdsCatHierNodeTextBuilder 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
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getMrchdsCatHierNodeText

      @Nullable public String getMrchdsCatHierNodeText()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MrchdsCatHierNodeText

      Returns:
      Keywords
    • toString

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

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

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

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

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