public final class Parameters extends Object
Constructor and Description |
---|
Parameters() |
Parameters(Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(String name)
Gets a parameter's value.
|
Parameters |
setArray(String name,
Array value)
Set the Array value to the query parameter referenced by the given name.
|
Parameters |
setBlob(String name,
Blob value)
Set the Blob value to the query parameter referenced by the given name.
|
Parameters |
setBoolean(String name,
boolean value)
Set a boolean value to the query parameter referenced by the given name.
|
Parameters |
setDate(String name,
Date value)
Set a date value to the query parameter referenced by the given name.
|
Parameters |
setDictionary(String name,
Dictionary value)
Set the Dictionary value to the query parameter referenced by the given name.
|
Parameters |
setDouble(String name,
double value)
Set a double value to the query parameter referenced by the given name.
|
Parameters |
setFloat(String name,
float value)
Set a float value to the query parameter referenced by the given name.
|
Parameters |
setInt(String name,
int value)
Set an int value to the query parameter referenced by the given name.
|
Parameters |
setLong(String name,
long value)
Set an long value to the query parameter referenced by the given name.
|
Parameters |
setNumber(String name,
Number value)
Set an Number value to the query parameter referenced by the given name.
|
Parameters |
setString(String name,
String value)
Set an String value to the query parameter referenced by the given name.
|
Parameters |
setValue(String name,
Object value)
Set a value to the query parameter referenced by the given name.
|
public Parameters()
public Parameters(@Nullable Parameters parameters)
@Nullable public Object getValue(@NonNull String name)
name
- The parameter name.@NonNull public Parameters setString(@NonNull String name, @Nullable String value)
name
- The parameter name.value
- The String value.@NonNull public Parameters setNumber(@NonNull String name, @Nullable Number value)
name
- The parameter name.value
- The Number value.@NonNull public Parameters setInt(@NonNull String name, int value)
name
- The parameter name.value
- The int value.@NonNull public Parameters setLong(@NonNull String name, long value)
name
- The parameter name.value
- The long value.@NonNull public Parameters setFloat(@NonNull String name, float value)
name
- The parameter name.value
- The float value.@NonNull public Parameters setDouble(@NonNull String name, double value)
name
- The parameter name.value
- The double value.@NonNull public Parameters setBoolean(@NonNull String name, boolean value)
name
- The parameter name.value
- The boolean value.@NonNull public Parameters setDate(@NonNull String name, @Nullable Date value)
name
- The parameter name.value
- The date value.@NonNull public Parameters setBlob(@NonNull String name, @Nullable Blob value)
name
- The parameter name.value
- The Blob value.@NonNull public Parameters setDictionary(@NonNull String name, @Nullable Dictionary value)
name
- The parameter name.value
- The Dictionary value.@NonNull public Parameters setArray(@NonNull String name, @Nullable Array value)
name
- The parameter name.value
- The Array value.@NonNull public Parameters setValue(@NonNull String name, @Nullable Object value)
name
- The parameter name.value
- The value.