com.salto.db.generator.plugin
Class EJB3Plugin

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.EJB3Plugin
All Implemented Interfaces:
IGeneratorPlugin
Direct Known Subclasses:
HibernatePlugin

public class EJB3Plugin
extends VelocityAbstractPlugin


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

Constructor Detail

EJB3Plugin

public EJB3Plugin()
Method Detail

isGenerateAnnotations

public boolean isGenerateAnnotations()

setGenerateAnnotations

public void setGenerateAnnotations(boolean generateAnnotations)

execute

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

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

getDefaultPrefix

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


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