org.objectweb.jorm.comp.generator.api
Interface JormGenerator

All Superinterfaces:
Generator
All Known Implementing Classes:
JormGeneratorImpl

public interface JormGenerator
extends Generator

An implementation of this interface starts the generations of the jorm objects and user object. The jorm objects are the binder, the binding and the accesors. It is needed to specify a MOPFactory before start the generation.The generate method starts the generation. To generate user objects it is necessary to specify their GeneratorFactory by the addGeneratorFactory method.


Method Summary
 void addGeneratorFactory(GeneratorFactory gf)
          This method permits to add GeneratorFactory instance.
 void setMOPFactory(MOPFactory mopf)
          This setter method permit to specify which MOPFactory must be used in this JormGenerator instance.
 
Methods inherited from interface org.objectweb.jorm.comp.generator.api.Generator
generate
 

Method Detail

addGeneratorFactory

public void addGeneratorFactory(GeneratorFactory gf)
This method permits to add GeneratorFactory instance. This is the way to extend the JormGenerator to generate supplementary files.

setMOPFactory

public void setMOPFactory(MOPFactory mopf)
This setter method permit to specify which MOPFactory must be used in this JormGenerator instance.