org.hibernate.tool.hbm2x
Class POJOExporter

java.lang.Object
  extended by org.hibernate.tool.hbm2x.AbstractExporter
      extended by org.hibernate.tool.hbm2x.GenericExporter
          extended by org.hibernate.tool.hbm2x.POJOExporter
All Implemented Interfaces:
Exporter
Direct Known Subclasses:
DAOExporter

public class POJOExporter
extends GenericExporter

Author:
max

Field Summary
 
Fields inherited from class org.hibernate.tool.hbm2x.AbstractExporter
log, templatePaths
 
Constructor Summary
POJOExporter()
           
POJOExporter(org.hibernate.cfg.Configuration cfg, File outputdir)
           
 
Method Summary
 String getName()
           
protected  void init()
           
protected  void setupContext()
          Setup the context variables used by the exporter.
 
Methods inherited from class org.hibernate.tool.hbm2x.GenericExporter
doStart, exportComponent, exportPersistentClass, exportPOJO, getClassNameForFile, getFilePattern, getPackageNameForFile, getTemplateName, resolveFilename, setFilePattern, setForEach, setTemplateName
 
Methods inherited from class org.hibernate.tool.hbm2x.AbstractExporter
cleanUpContext, getArtifactCollector, getCfg2HbmTool, getCfg2JavaTool, getConfiguration, getFileForClassName, getOutputDirectory, getProperties, getTemplateHelper, getTemplatePath, getTemplatePaths, setArtifactCollector, setConfiguration, setOutputDirectory, setProperties, setTemplateHelper, setTemplatePath, setupTemplates, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POJOExporter

public POJOExporter(org.hibernate.cfg.Configuration cfg,
                    File outputdir)

POJOExporter

public POJOExporter()
Method Detail

init

protected void init()

getName

public String getName()
Overrides:
getName in class AbstractExporter

setupContext

protected void setupContext()
Description copied from class: AbstractExporter
Setup the context variables used by the exporter. Subclasses should call super.setupContext() to ensure all needed variables are in the context.

Overrides:
setupContext in class AbstractExporter