Uses of Class
eu.bandm.tools.umod.UMod.EnumDef
Package
Description
Compiler for data models, from a concise mathematical oriented language into
Java.
-
Uses of UMod.EnumDef in eu.bandm.tools.umod
Modifier and TypeMethodDescriptionFactory.addEnumDef
(String name, @Opt Location<XMLDocumentIdentifier> loc, @Opt String doc) Add an enumeration definition to the model.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 TypeMethodDescriptionprotected 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) AnUMod.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.