Class QueryParameter
java.lang.Object
com.flowable.platform.api.index.query.QueryParameter
- Author:
- Filip Hrisafov, Yvo Swillens
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
Returns the (optional) default value of the parameter.protected boolean
Returnstrue
if this parameter is mandatory and would prevent the template from being rendered if missing.protected String
Returns the type of the parameter (e.g. string, long, date, etc). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
void
setDefaultValue
(Object defaultValue) void
setMandatory
(boolean mandatory) void
-
Field Details
-
type
Returns the type of the parameter (e.g. string, long, date, etc). -
defaultValue
Returns the (optional) default value of the parameter. -
mandatory
protected boolean mandatoryReturnstrue
if this parameter is mandatory and would prevent the template from being rendered if missing.
-
-
Constructor Details
-
QueryParameter
-
QueryParameter
public QueryParameter()
-
-
Method Details
-
getType
-
setType
-
getDefaultValue
-
setDefaultValue
-
isMandatory
public boolean isMandatory() -
setMandatory
public void setMandatory(boolean mandatory)
-