Interface Generator

All Known Implementing Classes:
AbstractGenerator, Db2Generator, DerbyGenerator, HsqlGenerator, MssqlGenerator, MysqlGenerator, OracleGenerator, PointBaseGenerator, PostgresqlGenerator, SapdbGenerator, SybaseGenerator

public interface Generator
Generator is the interface for various generators.
Since:
1.1
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Le Duc Bao, Ralf Joachim
  • Field Details

  • Method Details

    • initialize

      void initialize()
      Initialize generator.
    • getEngineName

      String getEngineName()
      Get engine name.
      Returns:
      Engine name
    • getEngineConfigPath

      String getEngineConfigPath()
      Get engine configuration file path.
      Returns:
      Engine configuration file path
    • getEngineConfigName

      String getEngineConfigName()
      Get engine configuration file name.
      Returns:
      Engine configuration file name
    • setMapping

      void setMapping(Mapping mappingDoc)
      Set mapping document.
      Parameters:
      mappingDoc - Mapping document.
    • setKeyGenRegistry

      void setKeyGenRegistry(KeyGeneratorRegistry keygenRegistry)
      Set key generator registry.
      Parameters:
      keygenRegistry - Key generator registry.
    • generateDDL

      void generateDDL(OutputStream output) throws GeneratorException
      Generate DDL for a mapping document.
      Parameters:
      output - Output stream for output.
      Throws:
      GeneratorException - If failed to generate DDL.