Class QueryParameter
- java.lang.Object
-
- com.flowable.platform.api.index.query.QueryParameter
-
public class QueryParameter extends Object
- Author:
- Filip Hrisafov, Yvo Swillens
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectdefaultValueReturns the (optional) default value of the parameter.protected booleanmandatoryReturnstrueif this parameter is mandatory and would prevent the template from being rendered if missing.protected StringtypeReturns the type of the parameter (e.g.
-
Constructor Summary
Constructors Constructor Description QueryParameter()QueryParameter(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue()StringgetType()booleanisMandatory()voidsetDefaultValue(Object defaultValue)voidsetMandatory(boolean mandatory)voidsetType(String type)
-
-
-
Field Detail
-
type
protected String type
Returns the type of the parameter (e.g. string, long, date, etc).
-
defaultValue
protected Object defaultValue
Returns the (optional) default value of the parameter.
-
mandatory
protected boolean mandatory
Returnstrueif this parameter is mandatory and would prevent the template from being rendered if missing.
-
-
Constructor Detail
-
QueryParameter
public QueryParameter(String type)
-
QueryParameter
public QueryParameter()
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getDefaultValue
public Object getDefaultValue()
-
setDefaultValue
public void setDefaultValue(Object defaultValue)
-
isMandatory
public boolean isMandatory()
-
setMandatory
public void setMandatory(boolean mandatory)
-
-