Options
Options = Option [ , Option ] [ , Option ]
This key can be used to define various additional options for generation of an enum.
ide.Java.InterfaceEnum.1: Symbol=DoubleList; Options=AllValues, MinMax; IncludeTagsTitle = Runtimes
ide.Java:
InterfaceEnum:
1:
Symbol: DoubleList
Options:
- AllValues
- MinMax
IncludeTagsTitle: Transit Times
AllValues
In the case of conditions no enum is created by default for the last value, the so-called 'else value' since an ELSE branch is always generated for this value.
If all values of a condition are required in the application, e.g. to create a selection list with all values of the condition, this option enables you to achieve this.
MinMax
|
This option is used to add enum methods that deliver the smallest and largest value of all extracted numerical values.
SetRuleGroup
|
In some cases it is important for the application to “know” in which rule groups the processing is currently located or when there will be a switch to a rule group.
The key InterfaceRuleGroups = iface is used for adding a special method to the interface that is always retrieved whenever there is a switch to a rule group. Using the enum option 'SetRuleGroup' the enum is passed over to the method as a parameter whereby individually configurable information can be transmitted.