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 Values added through this TableRow will have the same row
Id and as such can be grouped together.-
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.end()Deprecated.Returns the initial request, basically finalizing thisTableRowas well as theTablethis row is linked to.booleanDeprecated.Deprecated.Creates a newYearValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newBooleanValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newByteValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newCharacterValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newDoubleValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newFloatValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newIntegerValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newLongValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newShortValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newStringValueobject based on the given parameter and the incremented field Id.field(String name, String dataType, BigDecimal value) Deprecated.Creates a newBigDecimalValueobject based on the given parameter and the incremented field Id.field(String name, String dataType, BigInteger value) Deprecated.Creates a newBigIntegerValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newLocalDateValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newLocalTimeValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newLocaleValueobject based on the given parameter and the incremented field Id.Deprecated.Creates a newValueobject based on the given parameter and the incremented field Id.field(String name, String dataType, T value, ErpTypeConverter<T> typeConverter) Deprecated.Creates a newValueobject based on the given parameter and the incremented field Id.Deprecated.Copies the givenFields to theTablelinked to thisTableRow, using a new/applicable field Id.Deprecated.Adds a parameter reflected by a structure.inthashCode()Deprecated.booleanisEmpty()Deprecated.Checks whether anyValues where added in context of thisTableRow.row()Deprecated.Creates a newTableRow, associated to the same table thisTableRowis linked to.intsize()Deprecated.Returns the number ofValues 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 ofValues added in context of thisTableRow.- Returns:
- The number of
Values in thisTableRow.
-
isEmpty
public boolean isEmpty()Deprecated.Checks whether anyValues where added in context of thisTableRow.- Returns:
- True, if there was no
Valueadded; false, else.
-
field
@Nonnull public <T extends ErpType<T>> TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable T value) Deprecated.Creates a newValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow. TheValueis created without a type converter, letting the defaultErpTypeSerializerhandling 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
TableRowto 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 newValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked 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
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Boolean value) Deprecated.Creates a newBooleanValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheBooleanvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Byte value) Deprecated.Creates a newByteValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheBytevalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Character value) Deprecated.Creates a newCharacterValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheCharactervalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable String value) Deprecated.Creates a newStringValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheStringvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Short value) Deprecated.Creates a newShortValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheShortvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Integer value) Deprecated.Creates a newIntegerValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheIntegervalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Long value) Deprecated.Creates a newLongValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheLongvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Float value) Deprecated.Creates a newFloatValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheFloatvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Double value) Deprecated.Creates a newDoubleValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheDoublevalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigInteger value) Deprecated.Creates a newBigIntegerValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheBigIntegervalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigDecimal value) Deprecated.Creates a newBigDecimalValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheBigDecimalvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Year value) Deprecated.Creates a newYearValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheYearvalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalDate value) Deprecated.Creates a newLocalDateValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheLocalDatevalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalTime value) Deprecated.Creates a newLocalTimeValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheLocalTimevalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
field
@Nonnull public TableRow<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Locale value) Deprecated.Creates a newLocaleValueobject based on the given parameter and the incremented field Id. This newly createdValuethen gets added to theTablelinked to thisTableRow.- Parameters:
name- The parameter name.dataType- The ABAP data type of the parameter.value- TheLocalevalue.- Returns:
- This
TableRowto facilitate a fluent interface.
-
fields
Deprecated.Copies the givenFields to theTablelinked to thisTableRow, using a new/applicable field Id.- Parameters:
other- The mandatoryFieldto copy all contained value from.others- The optional, additionalFields to copy the values from.- Returns:
- This
TableRowto 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 thisTableRowis linked to.- Returns:
- A new
TableRow, adding values with a new row Id.
-
end
Deprecated.Returns the initial request, basically finalizing thisTableRowas well as theTablethis row is linked to.- Returns:
- The original request.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-