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

public class Prodsubstngrptxtctrl extends VdmEntity<Prodsubstngrptxtctrl> implements VdmEntitySet
Product Substitution Control Text

Original entity name from the Odata EDM: prodsubstngrptxtctrl_Type

  • Field Details

  • Constructor Details

    • Prodsubstngrptxtctrl

      public Prodsubstngrptxtctrl()
    • Prodsubstngrptxtctrl

      public Prodsubstngrptxtctrl(@Nullable String language, @Nullable String mDSubstnObjectType, @Nullable String mDSubstnControl, @Nullable String mDSubstnControlDescription, @Nullable ProdSubstnCtrl to_Control)
  • Method Details

    • getType

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

      public void setMDSubstnObjectType(@Nullable String mDSubstnObjectType)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: MDSubstnObjectType

      Parameters:
      mDSubstnObjectType - SAP Object Type
    • setMDSubstnControl

      public void setMDSubstnControl(@Nullable String mDSubstnControl)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnControl

      Parameters:
      mDSubstnControl - Substitution Control
    • setMDSubstnControlDescription

      public void setMDSubstnControlDescription(@Nullable String mDSubstnControlDescription)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: MDSubstnControlDescription

      Parameters:
      mDSubstnControlDescription - Substitution Control Description
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<Prodsubstngrptxtctrl>
    • getControlIfPresent

      @Nonnull public io.vavr.control.Option<ProdSubstnCtrl> getControlIfPresent()
      Retrieval of associated ProdSubstnCtrl entity (one to one). This corresponds to the OData navigation property _Control.

      If the navigation property for an entity Prodsubstngrptxtctrl 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 _Control is already loaded, the result will contain the ProdSubstnCtrl entity. If not, an Option with result state empty is returned.
    • setControl

      public void setControl(ProdSubstnCtrl value)
      Overwrites the associated ProdSubstnCtrl entity for the loaded navigation property _Control.
      Parameters:
      value - New ProdSubstnCtrl entity.
    • builder

      @Nonnull public static Prodsubstngrptxtctrl.ProdsubstngrptxtctrlBuilder builder()
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language
    • getMDSubstnObjectType

      @Nullable public String getMDSubstnObjectType()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: MDSubstnObjectType

      Returns:
      SAP Object Type
    • getMDSubstnControl

      @Nullable public String getMDSubstnControl()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnControl

      Returns:
      Substitution Control
    • getMDSubstnControlDescription

      @Nullable public String getMDSubstnControlDescription()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: MDSubstnControlDescription

      Returns:
      Substitution Control Description
    • toString

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

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

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

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

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