org.hibernate.tool.hbm2x
Class HibernateMappingExporter
java.lang.Object
org.hibernate.tool.hbm2x.AbstractExporter
org.hibernate.tool.hbm2x.GenericExporter
org.hibernate.tool.hbm2x.HibernateMappingExporter
- All Implemented Interfaces:
- Exporter
public class HibernateMappingExporter
- extends GenericExporter
- Author:
- david and max
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 |
globalSettings
protected HibernateMappingGlobalSettings globalSettings
HibernateMappingExporter
public HibernateMappingExporter(org.hibernate.cfg.Configuration cfg,
File outputdir)
HibernateMappingExporter
public HibernateMappingExporter()
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
setGlobalSettings
public void setGlobalSettings(HibernateMappingGlobalSettings hgs)
doStart
public void doStart()
- Overrides:
doStart
in class GenericExporter
init
protected void init()
getClassNameForFile
protected String getClassNameForFile(POJOClass element)
- Overrides:
getClassNameForFile
in class GenericExporter
getPackageNameForFile
protected String getPackageNameForFile(POJOClass element)
- Overrides:
getPackageNameForFile
in class GenericExporter
exportComponent
protected void exportComponent(Map additionalContext,
POJOClass element)
- Overrides:
exportComponent
in class GenericExporter
getName
public String getName()
- Overrides:
getName
in class AbstractExporter