org.sqlorm.metadatadumper
Class ConstantsDump

java.lang.Object
  extended by org.sqlorm.metadatadumper.ConstantsDump

public class ConstantsDump
extends Object

Class to read meta data from a database and create classes containing constants based upon that meta data.

This class is written in Java5 style, but can easily be translated to Java 4 style.

Author:
Kasper B. Graversen, (c) 2007-2008

Constructor Summary
ConstantsDump()
           
ConstantsDump(ConnectionInfo connInfo, FormatInfo formatInfo)
           
 
Method Summary
 void dumpMetaData()
          When calling this method, you must have set the connection info and the format info or call parseArguments().
static void main(String[] args)
           
 void parseArguments(String... args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantsDump

public ConstantsDump(ConnectionInfo connInfo,
                     FormatInfo formatInfo)
              throws Exception
Throws:
Exception

ConstantsDump

public ConstantsDump()
              throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

parseArguments

public void parseArguments(String... args)

dumpMetaData

public void dumpMetaData()
                  throws Exception
When calling this method, you must have set the connection info and the format info or call parseArguments().

Throws:
Exception
See Also:
parseArguments(String...)