@Deprecated public class QueryParameter extends Object
name = :name
.
This class maps the parameter to an actual value.Modifier and Type | Field and Description |
---|---|
private String |
name
Deprecated.
|
private String |
type
Deprecated.
|
private String |
value
Deprecated.
|
Constructor and Description |
---|
QueryParameter()
Deprecated.
Create a new empty query parameter.
|
QueryParameter(String name,
Float value)
Deprecated.
Useful constructor to create a parmeter where the value is a float.
|
QueryParameter(String name,
Integer value)
Deprecated.
Useful constructor to create a parmeter where the value is an integer.
|
QueryParameter(String name,
String value)
Deprecated.
Useful constructor to create a parmeter where the value is a string.
|
QueryParameter(String name,
String type,
String value)
Deprecated.
Create a new query parameter.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
Get the parameter name.
|
String |
getType()
Deprecated.
Get the parameter type.
|
String |
getValue()
Deprecated.
Set the parameter value.
|
void |
setName(String name)
Deprecated.
Set the parameter name.
|
void |
setType(String type)
Deprecated.
Set the parameter type.
|
void |
setValue(String value)
Deprecated.
Set the parameter name.
|
private String name
private String type
private String value
public QueryParameter()
public QueryParameter(String name, String type, String value)
name
- The name of the parametertype
- The type of the parameter, as taken from the
Type
enumerationvalue
- The value of the parameterpublic QueryParameter(String name, Integer value)
name
- The name of the parametervalue
- The value of the parameterpublic QueryParameter(String name, Float value)
name
- The name of the parametervalue
- The value of the parameterpublic String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)