Class GeneratorFactory


  • public final class GeneratorFactory
    extends java.lang.Object
    This class handles the creation for various databse 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Generator createDDLGenerator​(java.lang.String engine, java.lang.String globalConf, java.lang.String specificConf)
      Create DDL Generator for specified database engine with given global and specific configurations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createDDLGenerator

        public static Generator createDDLGenerator​(java.lang.String engine,
                                                   java.lang.String globalConf,
                                                   java.lang.String specificConf)
                                            throws GeneratorException
        Create DDL Generator for specified database engine with given global and specific configurations.
        Parameters:
        engine - Database engine.
        globalConf - Global configuration file.
        specificConf - Specific configuration file for database engine.
        Returns:
        DDL generator for database engine.
        Throws:
        GeneratorException - If database engine has not been specified or no generator is available for the database engine.