net.sourceforge.addam.ddlgen.generic
Class ForeignKeyGenerator

java.lang.Object
  extended by net.sourceforge.addam.ddlgen.generic.VelocityGenerator
      extended by net.sourceforge.addam.ddlgen.generic.ForeignKeyGenerator
All Implemented Interfaces:
Generator

public class ForeignKeyGenerator
extends VelocityGenerator

User: mkrishna Date: Nov 17, 2004


Constructor Summary
ForeignKeyGenerator()
           
 
Method Summary
protected  org.apache.velocity.VelocityContext getContext(String catalog, String schema, String object, Connection connection, DatabaseMetaData metadata)
           
 
Methods inherited from class net.sourceforge.addam.ddlgen.generic.VelocityGenerator
generate, getObjects, getTemplate, getTemplateName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeyGenerator

public ForeignKeyGenerator()
Method Detail

getContext

protected org.apache.velocity.VelocityContext getContext(String catalog,
                                                         String schema,
                                                         String object,
                                                         Connection connection,
                                                         DatabaseMetaData metadata)
                                                  throws Exception
Specified by:
getContext in class VelocityGenerator
Throws:
Exception


Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.