com.jgpruitt.datamodeler.dialects.sqlite
Class DDLGenerator

java.lang.Object
  extended by com.jgpruitt.datamodeler.dialects.sqlite.DDLGenerator

public class DDLGenerator
extends java.lang.Object

This class creates DDL scripts to create SQLite databases based on a model.

Author:
John Pruitt

Constructor Summary
DDLGenerator(Model model)
          Constructor.
 
Method Summary
 java.lang.String toString()
          Creates the DDL script based on the Model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DDLGenerator

public DDLGenerator(Model model)
Constructor.

Parameters:
model - the Model for which DDL should be created
See Also:
Model
Method Detail

toString

public java.lang.String toString()
Creates the DDL script based on the Model.

Overrides:
toString in class java.lang.Object
Returns:
the DDL script as a String