com.salto.db.generator.plugin
Class EJB3AndHibernateDAOPlugin

java.lang.Object
  extended by com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
      extended by com.salto.db.generator.plugin.VelocityAbstractPlugin
          extended by com.salto.db.generator.plugin.EJB3AndHibernateDAOPlugin
All Implemented Interfaces:
IGeneratorPlugin
Direct Known Subclasses:
EJB3HibernateDAOAndTestCasesPlugin, PojoHibernateDAOPlugin

public class EJB3AndHibernateDAOPlugin
extends VelocityAbstractPlugin


Field Summary
protected  EJB3Plugin ejb3Plugin
           
static java.lang.String TEMPLATE_PATH
           
 
Fields inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
defaultNameOffset, doPrefix, pckName, srcPath
 
Constructor Summary
EJB3AndHibernateDAOPlugin()
           
 
Method Summary
 void execute(java.lang.String className, JdoInfo info)
           
 java.lang.String getDefaultPrefix()
           
 EJB3Plugin getEjb3Plugin()
           
 java.lang.String getLongDescription()
           
 java.lang.String getName()
           
 java.lang.String getShortDescription()
           
 void init(java.lang.String doPrefix, int defaultNameOffset, java.lang.String srcPath, java.lang.String pckName)
           
 void postExecute(JdoInfo[] infos)
           
 void setEjb3Plugin(EJB3Plugin ejb3Plugin)
           
 
Methods inherited from class com.salto.db.generator.plugin.VelocityAbstractPlugin
runVelocity
 
Methods inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
abort, getDefaultNameOffset, setDefaultNameOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejb3Plugin

protected EJB3Plugin ejb3Plugin

TEMPLATE_PATH

public static final java.lang.String TEMPLATE_PATH
See Also:
Constant Field Values
Constructor Detail

EJB3AndHibernateDAOPlugin

public EJB3AndHibernateDAOPlugin()
Method Detail

execute

public void execute(java.lang.String className,
                    JdoInfo info)
             throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultPrefix

public java.lang.String getDefaultPrefix()
Specified by:
getDefaultPrefix in interface IGeneratorPlugin
Overrides:
getDefaultPrefix in class DefaultAbstractGeneratorPlugin

getLongDescription

public java.lang.String getLongDescription()

getName

public java.lang.String getName()

getShortDescription

public java.lang.String getShortDescription()

postExecute

public void postExecute(JdoInfo[] infos)
                 throws java.lang.Exception
Specified by:
postExecute in interface IGeneratorPlugin
Overrides:
postExecute in class DefaultAbstractGeneratorPlugin
Throws:
java.lang.Exception

init

public void init(java.lang.String doPrefix,
                 int defaultNameOffset,
                 java.lang.String srcPath,
                 java.lang.String pckName)
          throws java.lang.Exception
Specified by:
init in interface IGeneratorPlugin
Overrides:
init in class DefaultAbstractGeneratorPlugin
Throws:
java.lang.Exception

getEjb3Plugin

public EJB3Plugin getEjb3Plugin()

setEjb3Plugin

public void setEjb3Plugin(EJB3Plugin ejb3Plugin)


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.