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

public class PlantSubstnCtrlTxt extends VdmEntity<PlantSubstnCtrlTxt> implements VdmEntitySet
Plant Substitution Control Text

Original entity name from the Odata EDM: PlantSubstnCtrlTxt_Type

  • Field Details

  • Constructor Details

    • PlantSubstnCtrlTxt

      public PlantSubstnCtrlTxt()
    • PlantSubstnCtrlTxt

      public PlantSubstnCtrlTxt(@Nullable String language, @Nullable String mDSubstnObjectType, @Nullable String mDSubstnControl, @Nullable String mDSubstnControlDescription, @Nullable PlantSubstnCtrl to_Control)
  • Method Details

    • getType

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

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

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

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

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

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

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

      If the navigation property for an entity PlantSubstnCtrlTxt 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 PlantSubstnCtrl entity. If not, an Option with result state empty is returned.
    • setControl

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

      @Nonnull public static PlantSubstnCtrlTxt.PlantSubstnCtrlTxtBuilder 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<PlantSubstnCtrlTxt>
    • equals

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

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

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

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