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.
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 Value
s added through this TableRow
will have the same row
Id and as such can be grouped together.-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.end()
Deprecated.Returns the initial request, basically finalizing thisTableRow
as well as theTable
this row is linked to.boolean
Deprecated.Deprecated.Creates a newYear
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newBoolean
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newByte
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newCharacter
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newDouble
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newFloat
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newInteger
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newLong
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newShort
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newString
Value
object based on the given parameter and the incremented field Id.field
(String name, String dataType, BigDecimal value) Deprecated.Creates a newBigDecimal
Value
object based on the given parameter and the incremented field Id.field
(String name, String dataType, BigInteger value) Deprecated.Creates a newBigInteger
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newLocalDate
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newLocalTime
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newLocale
Value
object based on the given parameter and the incremented field Id.Deprecated.Creates a newValue
object based on the given parameter and the incremented field Id.field
(String name, String dataType, T value, ErpTypeConverter<T> typeConverter) Deprecated.Creates a newValue
object based on the given parameter and the incremented field Id.Deprecated.Copies the givenField
s to theTable
linked to thisTableRow
, using a new/applicable field Id.Deprecated.Adds a parameter reflected by a structure.int
hashCode()
Deprecated.boolean
isEmpty()
Deprecated.Checks whether anyValue
s where added in context of thisTableRow
.row()
Deprecated.Creates a newTableRow
, associated to the same table thisTableRow
is linked to.int
size()
Deprecated.Returns the number ofValue
s added in context of thisTableRow
.Deprecated.Adds a parameter reflected by a table type.toString()
Deprecated.
-
Method Details
-
size
public int size()Deprecated.Returns the number ofValue
s added in context of thisTableRow
.- Returns:
- The number of
Value
s in thisTableRow
.
-
isEmpty
public boolean isEmpty()Deprecated.Checks whether anyValue
s where added in context of thisTableRow
.- 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 newValue
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
. TheValue
is created without a type converter, letting the defaultErpTypeSerializer
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 newValue
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- 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 newBoolean
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheBoolean
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 newByte
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheByte
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 newCharacter
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheCharacter
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 newString
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheString
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 newShort
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheShort
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 newInteger
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheInteger
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 newLong
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheLong
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 newFloat
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheFloat
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 newDouble
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheDouble
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 newBigInteger
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheBigInteger
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 newBigDecimal
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheBigDecimal
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 newYear
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheYear
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 newLocalDate
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheLocalDate
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 newLocalTime
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheLocalTime
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 newLocale
Value
object based on the given parameter and the incremented field Id. This newly createdValue
then gets added to theTable
linked to thisTableRow
.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- TheLocale
value.- Returns:
- This
TableRow
to facilitate a fluent interface.
-
fields
Deprecated.Copies the givenField
s to theTable
linked to thisTableRow
, using a new/applicable field Id.- Parameters:
other
- The mandatoryField
to copy all contained value from.others
- The optional, additionalField
s to copy the values from.- Returns:
- This
TableRow
to facilitate a fluent interface.
-
table
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
Deprecated.Creates a newTableRow
, associated to the same table thisTableRow
is linked to.- Returns:
- A new
TableRow
, adding values with a new row Id.
-
end
Deprecated.Returns the initial request, basically finalizing thisTableRow
as well as theTable
this row is linked to.- Returns:
- The original request.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-