Class ParameterFields<RequestT>

java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.rfc.ParameterFields<RequestT>
Type Parameters:
RequestT - The generic type of the request.

@Deprecated public class ParameterFields<RequestT> extends Object
Deprecated.
This module will be discontinued, along with its classes and methods.
Create requests from fields.
  • Method Details

    • size

      public int size()
      Deprecated.
      Returns the number of fields.
      Returns:
      The number of fields.
    • isEmpty

      public boolean isEmpty()
      Deprecated.
      Returns whether the fields are empty.
      Returns:
      Whether the fields are empty.
    • field

      @Nonnull public <T extends ErpType<T>> ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable T value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Type Parameters:
      T - The generic value type.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public <T> ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable T value, @Nullable ErpTypeConverter<T> typeConverter)
      Deprecated.
      Adds a field with the given name, dataType, value, and typeConverter.
      Type Parameters:
      T - The generic value type.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      typeConverter - The converter to convert the value to an ERP type.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Boolean value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Byte value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Character value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable String value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Short value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Integer value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Long value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Float value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Double value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigInteger value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable BigDecimal value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Year value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalDate value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable LocalTime value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • field

      @Nonnull public ParameterFields<RequestT> field(@Nonnull String name, @Nullable String dataType, @Nullable Locale value)
      Deprecated.
      Adds a field with the given name, dataType, and value.
      Parameters:
      name - The field name.
      dataType - The data type of the field.
      value - The value of the field.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • fields

      @Nonnull public ParameterFields<RequestT> fields(@Nonnull Fields other, @Nonnull Fields... others)
      Deprecated.
      Adds the given fields.
      Parameters:
      other - The first field to add.
      others - The other fields to add.
      Returns:
      The ParameterFields to allow for fluent formulation.
    • table

      @Nonnull public Table<ParameterFields<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<ParameterFields<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.
    • end

      @Nonnull public RequestT end()
      Deprecated.
      Ends the fluent parameter building by returning the request.
      Returns:
      The 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