org.autosemantix.generator
Class Generator
java.lang.Object
org.autosemantix.generator.Generator
- public class Generator
- extends java.lang.Object
The Generator component is responsible for creating a complete and
functional Java implementation of a given Model.
By default the generated files are saved to the src directory under
the subdirectory corresponding to the name of the model. The code
is then organized into $name.*, $name.impl.* and $name.util.* packages.
- Version:
- Created Jul 11, 2005
- Author:
- Shawn Simister
Method Summary |
void |
generate(Model model)
This method delagates the code generation tasks to
the various Generator classes in order to generate
a complete Java implementation for the given model. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generator
public Generator(Project project)
generate
public void generate(Model model)
- This method delagates the code generation tasks to
the various Generator classes in order to generate
a complete Java implementation for the given model.
- Parameters:
model
- The Model to generate the code from.