Package | Description |
---|---|
eu.bandm.tools.d2d2.base |
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Method and Description |
---|---|
void |
UMod2Def.action(UMod.FieldDef fd) |
Modifier and Type | Field and Description |
---|---|
protected UMod.FieldDef |
Reducer.actfield |
protected UMod.FieldDef |
ReflectiveVisitor.curfd |
protected UMod.FieldDef |
UMod2java.V_compileAlgebraic.SubV.curfield |
protected UMod.FieldDef |
UMod2visitors.V_makeRewriterCoRewriter.curfield |
protected UMod.FieldDef |
UMod2format.Compiler.fieldfound
set by
UMod2format.Compiler.visit(Element_ref) and read
only for error diagnosisonly by
#Subformat.visit(Elemetn_child and visit(Element_switch) |
protected UMod.FieldDef |
UMod.ClassDef.keyField |
UMod.FieldDef |
ReflectiveVisitor.referingField |
Modifier and Type | Method and Description |
---|---|
UMod.FieldDef |
Factory.addFieldDef(UMod.ClassDef cls,
String name,
UMod.Type fieldType,
@Opt Location<XMLDocumentIdentifier> loc,
@Opt String doc)
Add a field definition to a class definition.
|
protected UMod.FieldDef |
Reducer.findfield(String fid) |
protected UMod.FieldDef |
UMod2java.V_compileFieldDefs.findSuperField(UMod.FieldDef fd) |
UMod.FieldDef |
UMod.ClassDef.get_keyField() |
Modifier and Type | Method and Description |
---|---|
List<UMod.FieldDef> |
UMod.ClassDef.get_fielddefs() |
CheckedMap_RD<String,UMod.FieldDef> |
UMod.ClassDef.get_fieldsbyname() |
Modifier and Type | Method and Description |
---|---|
protected void |
UMod2java.V_compileFieldDefs.action(UMod.FieldDef fd) |
protected void |
UMod2java.V__compileSwingTree.action(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileAlgebraic.action(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileAlgebraic.SubV.action(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileOrdered.action(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileOrdered.OrderFields.action(UMod.FieldDef f) |
void |
ReflectiveVisitor.action(UMod.FieldDef fd)
Descend to field value:
1) read object into "model" 2) set curfd to field 3) call match on the type |
protected void |
UMod2visitors.V_makeRewriterCoRewriter.action(UMod.FieldDef fd) |
protected void |
Checker.V_checkNoDoubleFields.action(UMod.FieldDef f) |
void |
Checker.KeyChecker.action(UMod.FieldDef fd) |
protected void |
UMod.Visitor.action(UMod.FieldDef i) |
protected void |
UMod.Printer.action(UMod.FieldDef i) |
static String |
UMod2java.canonicalFieldName(UMod.FieldDef fd) |
protected void |
UMod2Tsoap.ParserGenerator.collectfield(UMod.FieldDef fd,
GeneratedClass ownparserclass) |
protected void |
Checker.error(UMod.FieldDef fd,
String text) |
protected String |
UMod2Tsoap.FIELDVARNAME(UMod.FieldDef fd) |
protected UMod.FieldDef |
UMod2java.V_compileFieldDefs.findSuperField(UMod.FieldDef fd) |
static Object |
ReflectiveVisitor.getFieldValue(Object o,
UMod.FieldDef fd)
Reads the content of a given field by applying java.lang.reflect methods.
|
static boolean |
Checker.isAbstract(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileFieldDefs.makeMultipleContainsKey(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileFieldDefs.makeMultiplePut(UMod.FieldDef fd) |
protected void |
UMod2java.V_compileFieldDefs.makeSetGet(UMod.FieldDef fd,
boolean getterfunctions,
boolean setterfunctions,
boolean isabstract) |
boolean |
UMod.ClassDef.set_keyField(UMod.FieldDef kf) |
protected static Format |
UMod2java.strictnessCheck(UMod.FieldDef fd) |
protected String |
UMod2Tsoap.TAGSTRING(UMod.FieldDef fd) |
protected void |
UMod2visitors.warnNoVisit(UMod.ClassDef cd,
UMod.FieldDef fd,
boolean isPrim,
boolean isAbstract) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
UMod2java.CompileConstructors_20181214.checkDuplicateConstructor(UMod.ClassDef cd,
Collection<UMod.FieldDef> signature) |
protected void |
UMod2java.CompileConstructors_20181214.compileConstructor(UMod.ClassDef cd,
@Opt Integer key,
Collection<UMod.FieldDef> allParams,
@Opt Collection<UMod.FieldDef> superParams)
When this is called: no obligate fields are missing.
|
protected void |
UMod2java.CompileConstructors_20181214.expandOrInherit(UMod.ClassDef cd,
int key,
Collection<UMod.FieldDef> superfields,
int lastIndex) |
protected void |
UMod2java.CompileConstructors.expandOrInherit(UMod.ClassDef cd,
Integer key,
SortedMap<Integer,UMod.FieldDef> superfields) |
protected String |
UMod2java.fieldCollectionToConstant(Collection<UMod.FieldDef> coll,
String sep) |
protected String |
UMod2java.fieldSetToString(Collection<UMod.FieldDef> coll,
String sep) |
protected boolean |
UMod2java.CompileConstructors.makeconstructor(UMod.ClassDef cd,
Integer key,
Collection<UMod.FieldDef> inherited,
Collection<UMod.FieldDef> newparams)
Generates a constructor with signature "inherited+newparams".
Compiles a call to "super()" for the former and assignment statements for the latter(). ASSUME "Collection" is ordered, since it is "aTreeMap.values()" |
protected boolean |
UMod2java.CompileConstructors.makeconstructor(UMod.ClassDef cd,
Integer key,
Collection<UMod.FieldDef> inherited,
Collection<UMod.FieldDef> newparams)
Generates a constructor with signature "inherited+newparams".
Compiles a call to "super()" for the former and assignment statements for the latter(). ASSUME "Collection" is ordered, since it is "aTreeMap.values()" |
protected void |
Reducer.patchPragmas(Collection<CheckedMap_RD<Integer,UMod.FieldDef>> maps) |
see also the complete user documentation .