wt.tools.generation.sql
Class IndexGenerator

java.lang.Object
  extended bywt.tools.generation.PackageTraverser
      extended bywt.tools.generation.sql.IndexGenerator
All Implemented Interfaces:
ClassProcessor, ExecutableApp, PackageProcessor
Direct Known Subclasses:
OracleIndexGenerator, OracleStandardIndexGenerator, SQLServerIndexGenerator

public abstract class IndexGenerator
extends PackageTraverser
implements ClassProcessor, ExecutableApp


Field Summary
private  File createFile
           
private  File dropFile
           
private  String inputCreateFileName
           
private  String inputDropFileName
           
 
Fields inherited from class wt.tools.generation.PackageTraverser
 
Constructor Summary
IndexGenerator()
           
 
Method Summary
 void execute(String[] args)
          

Supported API: false
private  File getCreateFile(String qualifiedName)
           
private  File getDropFile(String qualifiedName)
           
protected abstract  ScriptGenerator getScriptGenerator()
           
protected abstract  SQLGenerator getSQLGenerator()
           
 void processClass(String qualifiedName)
           
 void processPackage(String pckg)
           
 
Methods inherited from class wt.tools.generation.PackageTraverser
defaultClassProcessor, setModelRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputDropFileName

private String inputDropFileName

inputCreateFileName

private String inputCreateFileName

dropFile

private File dropFile

createFile

private File createFile
Constructor Detail

IndexGenerator

public IndexGenerator()
Method Detail

getScriptGenerator

protected abstract ScriptGenerator getScriptGenerator()

getSQLGenerator

protected abstract SQLGenerator getSQLGenerator()

execute

public void execute(String[] args)
             throws WTException
Description copied from interface: ExecutableApp


Supported API: false

Specified by:
execute in interface ExecutableApp
Parameters:
args -
Throws:
WTException

processClass

public void processClass(String qualifiedName)
                  throws WTException
Specified by:
processClass in interface ClassProcessor
Throws:
WTException

processPackage

public void processPackage(String pckg)
                    throws WTException
Specified by:
processPackage in interface PackageProcessor
Overrides:
processPackage in class PackageTraverser
Throws:
WTException

getDropFile

private File getDropFile(String qualifiedName)

getCreateFile

private File getCreateFile(String qualifiedName)