net.sf.seaf.mojo.util
Class PersistenceGenerator

java.lang.Object
  extended by net.sf.seaf.mojo.util.GeneratorBase
      extended by net.sf.seaf.mojo.util.PersistenceGenerator

public class PersistenceGenerator
extends GeneratorBase


Constructor Summary
PersistenceGenerator(org.apache.maven.project.MavenProject project, org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager, org.apache.maven.plugin.logging.Log log, File configurationDir, String sourceEncoding, String persistenceSrcIncludes, File mergedPersistenceFile, File persistenceReportDir, String applicationName, String applicationVersion, File generatedXmlDir, File generatedJavaDir, File enumInitFile, File persistenceContextFile, File hibernateCfgXmlSrcFile, File hibernateCfgXmlDestFile, File sessionFactoryContextSrcFile, File sessionFactoryContextDestFile, File codeTableInitSrcFile, File codeTableInitDestFile, String generatePersistenceMode)
           
 
Method Summary
 void generatePersistenceCodeTableInit()
           
 void generatePersistenceHibernateCfg()
           
 void generatePersistenceSessionFactoryContext()
           
 boolean isFull()
           
 void regeneratePersistence()
           
 
Methods inherited from class net.sf.seaf.mojo.util.GeneratorBase
getSourceEncoding, initMojoBaseProperties, initMojoBaseProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceGenerator

public PersistenceGenerator(org.apache.maven.project.MavenProject project,
                            org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
                            org.apache.maven.plugin.logging.Log log,
                            File configurationDir,
                            String sourceEncoding,
                            String persistenceSrcIncludes,
                            File mergedPersistenceFile,
                            File persistenceReportDir,
                            String applicationName,
                            String applicationVersion,
                            File generatedXmlDir,
                            File generatedJavaDir,
                            File enumInitFile,
                            File persistenceContextFile,
                            File hibernateCfgXmlSrcFile,
                            File hibernateCfgXmlDestFile,
                            File sessionFactoryContextSrcFile,
                            File sessionFactoryContextDestFile,
                            File codeTableInitSrcFile,
                            File codeTableInitDestFile,
                            String generatePersistenceMode)
Method Detail

regeneratePersistence

public void regeneratePersistence()
                           throws org.apache.maven.plugin.MojoExecutionException,
                                  org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

generatePersistenceHibernateCfg

public void generatePersistenceHibernateCfg()
                                     throws org.apache.maven.plugin.MojoExecutionException,
                                            org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

generatePersistenceSessionFactoryContext

public void generatePersistenceSessionFactoryContext()
                                              throws org.apache.maven.plugin.MojoExecutionException,
                                                     org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

generatePersistenceCodeTableInit

public void generatePersistenceCodeTableInit()
                                      throws org.apache.maven.plugin.MojoExecutionException,
                                             org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

isFull

public boolean isFull()


Copyright © 2011 SEAF. All Rights Reserved.