public class QueryParameter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
defaultValue
Returns the (optional) default value of the parameter.
|
protected boolean |
mandatory
Returns
true if this parameter is mandatory and would prevent the template from being rendered if missing. |
protected String |
type
Returns the type of the parameter (e.g.
|
| Constructor and Description |
|---|
QueryParameter() |
QueryParameter(String type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getType() |
boolean |
isMandatory() |
void |
setDefaultValue(Object defaultValue) |
void |
setMandatory(boolean mandatory) |
void |
setType(String type) |
protected String type
protected Object defaultValue
protected boolean mandatory
true if this parameter is mandatory and would prevent the template from being rendered if missing.public QueryParameter(String type)
public QueryParameter()