Class QueryParameter
java.lang.Object
com.flowable.platform.api.index.query.QueryParameter
- Author:
- Filip Hrisafov, Yvo Swillens
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectReturns the (optional) default value of the parameter.protected booleanReturnstrueif this parameter is mandatory and would prevent the template from being rendered if missing.protected StringReturns the type of the parameter (e.g. string, long, date, etc). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanvoidsetDefaultValue(Object defaultValue) voidsetMandatory(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 mandatoryReturnstrueif 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)
-