public interface RuleTarget
The constants of your Enum are to mirror the ids of the values within your jQuery QueryBuilder configuration. These will map to a JOOQ Field (preferably provided by auto-generated code). You then may provide an optional var-args collection of Implicit Conditions which will automatically be applied to the user supplied condition.
i.e. if a table within your schema holds a variety of types (perhaps made distinct by some discriminator column) you can add in implicit conditions that will be automatically applied to the aforementioned condition (via an AND).
| Modifier and Type | Method and Description |
|---|---|
org.jooq.Field |
getField() |
org.jooq.Condition[] |
getImplicitConditions() |
RuleTarget |
parse(String value)
parse is accessed via reflection and will call your Enum's valueOf method
|
org.jooq.Field getField()
org.jooq.Condition[] getImplicitConditions()
RuleTarget parse(String value)
value - the rule id as it appears in jQuery QueryBuilderCopyright © 2018. All rights reserved.