Class QueryParameter

java.lang.Object
com.flowable.platform.api.index.query.QueryParameter

public class QueryParameter extends Object
Author:
Filip Hrisafov, Yvo Swillens
  • Field Details

    • 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
      Returns true if this parameter is mandatory and would prevent the template from being rendered if missing.
  • Constructor Details

    • QueryParameter

      public QueryParameter(String type)
    • QueryParameter

      public QueryParameter()
  • Method Details

    • 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)