|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
false.
JAXBContext singleton with all registered serializable classes.DefaultValue if present.WriterFactory just creates a FileWriter instance
after making sure the parent directory exists.model = the current model instance
modelName = the current model name
nanoTemplate - a NanoTemplate callback instance
TODO the ooNamingService provides most of the NanoTemplate functionality - can we refactor NanoTemplate out of the templates?contextKey.GeneratorPipeline defines a code generation assembly line.XXXSpringConfig.xml including:
Pipeline components and order of execution
Template names, locations and types and their artifact naming patterns and relative output locations
Per-template overwrite predicates
Binding templates to model instances
Root structure of model tree including global properties and parent containers for generated model instances
Default and artifact-specific naming patterns using model and emitter contexts
Reading, writing and merging of metadata
Code naming and conversion implementations
Anything that gen.properties can specify
getConnectionFromDriverManager,
using the default username and password of this DataSource.
getConnectionFromDriverManager,
using the given username and password.
DbType.
classpath: or file: and a path to locate the file in any context.
overrideProperties, so we can
override these properties instead of having to redefine every property as using
the setProperties method would require.customizingModels)
onto the equivalent instances of the other (ie input parameter on gen method) using the
copyTo method.modelIdIndex key.
lookupChildByName with null type.
input node as a starting point, traverses the model tree using
the XPath-like path and returns the result as output.pipeline bean out of factory
and calls the gen method.
configFile.
singularToPlural and pluralToSingular maps.
Visit instance for each Model type.visit method.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||