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

public class VarCnfTblText extends VdmEntity<VarCnfTblText> implements VdmEntitySet
Texts

Original entity name from the Odata EDM: VarCnfTblText_Type

  • Field Details

  • Constructor Details

    • VarCnfTblText

      public VarCnfTblText()
    • VarCnfTblText

      public VarCnfTblText(@Nullable String varConfignTblName, @Nullable String languageCode, @Nullable String varConfignTblDescription, @Nullable VariantConfigurationTable to_Table)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: VarConfignTblName

      Parameters:
      varConfignTblName - Name of variant table
    • setLanguageCode

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

      Original property name from the Odata EDM: LanguageCode

      Parameters:
      languageCode - Language Key
    • setVarConfignTblDescription

      public void setVarConfignTblDescription(@Nullable String varConfignTblDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: VarConfignTblDescription

      Parameters:
      varConfignTblDescription - Variant Table Description
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity VarCnfTblText 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 _Table is already loaded, the result will contain the VariantConfigurationTable entity. If not, an Option with result state empty is returned.
    • setTable

      public void setTable(VariantConfigurationTable value)
      Overwrites the associated VariantConfigurationTable entity for the loaded navigation property _Table.
      Parameters:
      value - New VariantConfigurationTable entity.
    • builder

      @Nonnull public static VarCnfTblText.VarCnfTblTextBuilder builder()
    • getVarConfignTblName

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

      Original property name from the Odata EDM: VarConfignTblName

      Returns:
      Name of variant table
    • getLanguageCode

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

      Original property name from the Odata EDM: LanguageCode

      Returns:
      Language Key
    • getVarConfignTblDescription

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

      Original property name from the Odata EDM: VarConfignTblDescription

      Returns:
      Variant Table Description
    • toString

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

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

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

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

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