Symbol
Symbol [ = Option ] [ , Option ]
This argument is optional and adds the symbol of the value to the enum as a string, including the associated getter method, such as for Java: String getSymbol(). For parm generation, the symbol is passed as a string.
ide.Java.InterfaceEnum.1: Symbol; IncludeTagsTitle = Transit Times +
ide.Java.InterfaceEnum.2: Symbol; Number; IncludeTagsTitle = Ranges
One or two options can be specified after an equal sign:
-
An option to extract numeric values: Integer, IntegerList, Double, DoubleList or Interval.
-
A case-sensitive option: Uppercase or Lowercase.
Multiple options are separated by commas, the order of the options is irrelevant, here is an example:
ide.Java.InterfaceEnum.1: Symbol = Double, Uppercase; IncludeTags = Transit Times +
ide.Java.InterfaceEnum.2: Symbol = Interval; IncludeTags = Ranges
ide.Java:
InterfaceEnum:
1:
Symbol:
- Double
- UpperCase
IncludeTagsTitle:
- Runtimes
2:
Symbol:
- Interval
IncludeTagsTitle:
- Ranges
| Upper/lower case and division of words, e.g. through dots or YAML stages, does not matter. |
Extraction of numerical values
One of the options |
|---|
|
|
|
|
|