wt.tools.generation.sql
Class DdlGenerator

java.lang.Object
  extended bywt.tools.generation.sql.DdlGenerator

public class DdlGenerator
extends Object

DdlGenerator creates scripts containing DDL statements


Field Summary
private static boolean LOAD_INTROSPECTION_FROM_CLASS_PATH
           
private static OracleScriptGenerator oracleScriptGenerator
           
private static OracleStandardScriptGenerator oracleStandardScriptGenerator
           
private static HashMap pathCache
           
private static SQLServerScriptGenerator sqlServerScriptGenerator
           
private static boolean USE_DATASTORE
           
 
Constructor Summary
DdlGenerator()
           
 
Method Summary
static void buildSql(String a_className, String a_moduleName, String a_assemblyName)
           
static ClassInfo getClassInfo(String class_name, String module_name)
           
static DatabaseInfo getDatabaseInfo(String class_name, String module_name)
           
private static String getIntrospectionPath(String module_name)
           
static String getModuleBinPath(String module_name)
           
static void main(String[] argv)
           
static void structBuild(Vector a_classNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_DATASTORE

private static final boolean USE_DATASTORE

LOAD_INTROSPECTION_FROM_CLASS_PATH

private static final boolean LOAD_INTROSPECTION_FROM_CLASS_PATH

oracleScriptGenerator

private static OracleScriptGenerator oracleScriptGenerator

oracleStandardScriptGenerator

private static OracleStandardScriptGenerator oracleStandardScriptGenerator

sqlServerScriptGenerator

private static SQLServerScriptGenerator sqlServerScriptGenerator

pathCache

private static final HashMap pathCache
Constructor Detail

DdlGenerator

public DdlGenerator()
Method Detail

main

public static void main(String[] argv)

buildSql

public static void buildSql(String a_className,
                            String a_moduleName,
                            String a_assemblyName)
                     throws WTException,
                            IOException
Throws:
WTException
IOException

structBuild

public static void structBuild(Vector a_classNames)
                        throws WTException,
                               IOException
Throws:
WTException
IOException

getClassInfo

public static ClassInfo getClassInfo(String class_name,
                                     String module_name)
                              throws WTException
Throws:
WTException

getDatabaseInfo

public static DatabaseInfo getDatabaseInfo(String class_name,
                                           String module_name)
                                    throws WTException
Throws:
WTException

getIntrospectionPath

private static String getIntrospectionPath(String module_name)
                                    throws WTException
Throws:
WTException

getModuleBinPath

public static String getModuleBinPath(String module_name)
                               throws WTException
Throws:
WTException