Class TableRow<RequestT>

java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.rfc.TableRow<RequestT>
Type Parameters:
RequestT - The type of the original Request.

@Deprecated public class TableRow<RequestT> extends Object
Deprecated.
This module will be discontinued, along with its classes and methods.
This class is tightly connected to an instance of Table, adding all values directly to this Table instance. Because of this indirection, all Values added through this TableRow will have the same row Id and as such can be grouped together.
  • Method Details

    • size

      public int size()
      Deprecated.
      Returns the number of Values added in context of this TableRow.
      Returns:
      The number of Values in this TableRow.
    • isEmpty

      public boolean isEmpty()
      Deprecated.
      Checks whether any Values where added in context of this TableRow.
      Returns:
      True, if there was no Value added; false, else.
    • field

      @Nonnull public <T extends ErpType<T>> TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable T value)
      Deprecated.
      Creates a new Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow. The Value is created without a type converter, letting the default ErpTypeSerializer handling the serialization.
      Type Parameters:
      T - The type of the value.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The parameter value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public <T> TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable T value, @Nullable ErpTypeConverter<T> typeConverter)
      Deprecated.
      Creates a new Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Type Parameters:
      T - The type of the value.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The parameter value.
      typeConverter - The converter to be used to parse the value to the ERP String value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Boolean value)
      Deprecated.
      Creates a new Boolean Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Boolean value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Byte value)
      Deprecated.
      Creates a new Byte Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Byte value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Character value)
      Deprecated.
      Creates a new Character Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Character value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable String value)
      Deprecated.
      Creates a new String Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The String value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Short value)
      Deprecated.
      Creates a new Short Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Short value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Integer value)
      Deprecated.
      Creates a new Integer Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Integer value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Long value)
      Deprecated.
      Creates a new Long Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Long value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Float value)
      Deprecated.
      Creates a new Float Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Float value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Double value)
      Deprecated.
      Creates a new Double Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Double value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigInteger value)
      Deprecated.
      Creates a new BigInteger Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The BigInteger value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigDecimal value)
      Deprecated.
      Creates a new BigDecimal Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The BigDecimal value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Year value)
      Deprecated.
      Creates a new Year Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Year value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalDate value)
      Deprecated.
      Creates a new LocalDate Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The LocalDate value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalTime value)
      Deprecated.
      Creates a new LocalTime Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The LocalTime value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • field

      @Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Locale value)
      Deprecated.
      Creates a new Locale Value object based on the given parameter and the incremented field Id. This newly created Value then gets added to the Table linked to this TableRow.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      value - The Locale value.
      Returns:
      This TableRow to facilitate a fluent interface.
    • fields

      @Nonnull public TableRow<RequestT> fields(@Nonnull Fields other, @Nonnull Fields... others)
      Deprecated.
      Copies the given Fields to the Table linked to this TableRow, using a new/applicable field Id.
      Parameters:
      other - The mandatory Field to copy all contained value from.
      others - The optional, additional Fields to copy the values from.
      Returns:
      This TableRow to facilitate a fluent interface.
    • table

      @Nonnull public Table<TableRow<RequestT>> table(@Nonnull String name, @Nullable String dataType)
      Deprecated.
      Adds a parameter reflected by a table type.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      Returns:
      The Table to allow for fluent formulation.
    • fields

      @Nonnull public ParameterFields<TableRow<RequestT>> fields(@Nonnull String name, @Nullable String dataType)
      Deprecated.
      Adds a parameter reflected by a structure.
      Parameters:
      name - The parameter name.
      dataType - The ABAP data type of the parameter.
      Returns:
      The Table to allow for fluent formulation.
    • row

      @Nonnull public TableRow<RequestT> row()
      Deprecated.
      Creates a new TableRow, associated to the same table this TableRow is linked to.
      Returns:
      A new TableRow, adding values with a new row Id.
    • end

      @Nonnull public RequestT end()
      Deprecated.
      Returns the initial request, basically finalizing this TableRow as well as the Table this row is linked to.
      Returns:
      The original request.
    • equals

      public boolean equals(@Nullable Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Deprecated.
      Overrides:
      toString in class Object