QueryT
- The type of the original Query.public class TableRow<QueryT extends AbstractRemoteFunctionQuery<QueryT,?>> extends Object
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.Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
QueryT |
end()
Returns the initial query, basically finalizing this
TableRow as well as the Table this row is
linked to. |
boolean |
equals(Object o) |
TableRow<QueryT> |
field(String name,
String dataType,
BigDecimal value)
Creates a new
BigDecimal Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
BigInteger value)
Creates a new
BigInteger Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Boolean value)
Creates a new
Boolean Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Byte value)
Creates a new
Byte Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Character value)
Creates a new
Character Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Double value)
Creates a new
Double Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Float value)
Creates a new
Float Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Integer value)
Creates a new
Integer Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
LocalDate value)
Creates a new
LocalDate Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Locale value)
Creates a new
Locale Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
LocalTime value)
Creates a new
LocalTime Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Long value)
Creates a new
Long Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Short value)
Creates a new
Short Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
String value)
Creates a new
String Value object based on the given parameter and the incremented field Id. |
<T extends ErpType<T>> |
field(String name,
String dataType,
T value)
Creates a new
Value object based on the given parameter and the incremented field Id. |
<T> TableRow<QueryT> |
field(String name,
String dataType,
T value,
ErpTypeConverter<T> typeConverter)
Creates a new
Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
field(String name,
String dataType,
Year value)
Creates a new
Year Value object based on the given parameter and the incremented field Id. |
TableRow<QueryT> |
fields(Fields other,
Fields... others)
Copies the given
Field s to the Table linked to this TableRow , using a new/applicable
field Id. |
int |
hashCode() |
boolean |
isEmpty()
Checks whether any
Value s where added in context of this TableRow . |
TableRow<QueryT> |
row()
Creates a new
TableRow , associated to the same table this TableRow is linked to. |
int |
size()
Returns the number of
Value s added in context of this TableRow . |
String |
toString() |
public int size()
Value
s added in context of this TableRow
.Value
s in this TableRow
.public boolean isEmpty()
Value
s where added in context of this TableRow
.Value
added; false, else.@Nonnull public <T extends ErpType<T>> TableRow<QueryT> field(String name, String dataType, T value)
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.T
- The type of the value.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The parameter value.TableRow
to facilitate a fluent interface.@Nonnull public <T> TableRow<QueryT> field(String name, String dataType, T value, ErpTypeConverter<T> typeConverter)
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
.T
- The type of the value.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.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Boolean value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Boolean
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Byte value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Byte
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Character value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Character
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, String value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The String
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Short value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Short
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Integer value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Integer
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Long value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Long
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Float value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Float
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Double value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Double
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, BigInteger value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The BigInteger
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, BigDecimal value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The BigDecimal
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Year value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Year
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, LocalDate value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The LocalDate
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, LocalTime value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The LocalTime
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> field(String name, String dataType, Locale value)
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
.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Locale
value.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> fields(Fields other, Fields... others)
Field
s to the Table
linked to this TableRow
, using a new/applicable
field Id.other
- The mandatory Field
to copy all contained value from.others
- The optional, additional Field
s to copy the values from.TableRow
to facilitate a fluent interface.@Nonnull public TableRow<QueryT> row()
TableRow
, associated to the same table this TableRow
is linked to.TableRow
, adding values with a new row Id.public QueryT end()
TableRow
as well as the Table
this row is
linked to.protected boolean canEqual(Object other)
Copyright © 2019 SAP SE. All rights reserved.