Uses of Class
eu.bandm.tools.umod.UMod.EnumDef
Packages that use 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
Methods in eu.bandm.tools.umod that return UMod.EnumDefModifier 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.Methods in eu.bandm.tools.umod with parameters of type UMod.EnumDefModifier and TypeMethodDescriptionprotected voidUMod.Visitor.action(UMod.EnumDef td) voidFactory.addEnumItem(UMod.EnumDef edef, String name, @Opt String doc) Add a further enumeration value to an already defined enumeration type.protected voidUMod2java.compileEnumDef(UMod.EnumDef td, GeneratedContext context) AnUMod.EnumDefis a simple UMod expression which is translated to a java enumeration type.voidFactory.setDocumentation(UMod.EnumDef def, String item, String text) Put the string value as (the only!) doc text of the enumeration item.