com.salto.db.generator.plugin
Class HibernatePlugin

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
              extended by com.salto.db.generator.plugin.HibernatePlugin
All Implemented Interfaces:
IGeneratorPlugin

public class HibernatePlugin
extends EJB3Plugin


Field Summary
 
Fields inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
defaultNameOffset, doPrefix, pckName, srcPath
 
Constructor Summary
HibernatePlugin()
           
 
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()
           
 void init(java.lang.String doPrefix, int defaultNameOffset, java.lang.String srcPath, java.lang.String pckName)
           
 
Methods inherited from class com.salto.db.generator.plugin.EJB3Plugin
isGenerateAnnotations, postExecute, setGenerateAnnotations
 
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
 

Constructor Detail

HibernatePlugin

public HibernatePlugin()
Method Detail

execute

public void execute(java.lang.String className,
                    JdoInfo info)
             throws java.lang.Exception
Specified by:
execute in interface IGeneratorPlugin
Overrides:
execute in class EJB3Plugin
Throws:
java.lang.Exception

getLongDescription

public java.lang.String getLongDescription()
Specified by:
getLongDescription in interface IGeneratorPlugin
Overrides:
getLongDescription in class EJB3Plugin

getName

public java.lang.String getName()
Specified by:
getName in interface IGeneratorPlugin
Overrides:
getName in class EJB3Plugin

getShortDescription

public java.lang.String getShortDescription()
Specified by:
getShortDescription in interface IGeneratorPlugin
Overrides:
getShortDescription in class EJB3Plugin

getDefaultPrefix

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

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


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