public interface Model
Modifier and Type | Method and Description |
---|---|
BasicClazz |
getClazz()
Get the (basic) class that this model is used in.
|
Configuration |
getConfiguration()
The configuration object for this model.
|
default Clazz |
getGeneratedClazz()
Get the class that is being generated - the 'root' class of all basic clazzes in the dependency graph.
|
String |
getPackageName()
The package that the output belongs to.
|
default String |
getVariablesPrefix()
Prefix for (auto-generated) local variables.
|
default boolean |
isInDefaultPackage()
True if the output has no package.
|
void |
print(IndentedPrintWriter writer,
int level)
Helper method for printing out the model nicely without getting into problems with its circular references.
|
Configuration getConfiguration()
String getPackageName()
default boolean isInDefaultPackage()
BasicClazz getClazz()
default Clazz getGeneratedClazz()
default String getVariablesPrefix()
void print(IndentedPrintWriter writer, int level)
writer
- The writer to print tolevel
- The curren recursion level. Call with 0 initially.
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.