Package | Description |
---|---|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Method and Description |
---|---|
UMod.EnumDef |
Factory.addEnumDef(String name,
@Opt Location<XMLDocumentIdentifier> loc,
@Opt String doc)
Add an enumeration definition to the model.
|
UMod.EnumDef |
Factory.addEnumDef(String name,
@Opt Location<XMLDocumentIdentifier> loc,
@Opt String doc,
String... items)
Add an enumeration definition plus some/all of its enumeration values to the model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UMod.Visitor.action(UMod.EnumDef td) |
void |
Factory.addEnumItem(UMod.EnumDef edef,
String name,
@Opt String doc)
Add a further enumeration value to an already defined enumeration type.
|
protected void |
UMod2java.compileEnumDef(UMod.EnumDef td,
GeneratedContext context)
An
UMod.EnumDef is a simple UMod expression which is translated to a
java enumeration type. |
void |
Factory.setDocumentation(UMod.EnumDef def,
String item,
String text)
Put the string value as (the only!) doc text of the enumeration item.
|
see also the complete user documentation .