org.hibernate.tool.hbm2x
Interface Exporter
- All Known Implementing Classes:
- AbstractExporter, DAOExporter, DAONewExporter, DocExporter, GenericExporter, HbmLintExporter, HibernateConfigurationExporter, HibernateMappingExporter, POJOExporter, QueryExporter
public interface Exporter
- Author:
- max and david
setConfiguration
void setConfiguration(org.hibernate.cfg.Configuration cfg)
- Parameters:
cfg
- An Hibernate org.hibernate.Configuration
or subclass instance that defines the hibernate meta model to be exported.
getConfiguration
org.hibernate.cfg.Configuration getConfiguration()
setOutputDirectory
void setOutputDirectory(File file)
- Parameters:
file
- basedirectory to be used for generated files.
getOutputDirectory
File getOutputDirectory()
setTemplatePath
void setTemplatePath(String[] templatePath)
- Parameters:
templatePath
- array of directories used sequentially to lookup templates
getTemplatePath
String[] getTemplatePath()
setProperties
void setProperties(Properties properties)
- Parameters:
properties
- set of properties to be used by exporter.
getProperties
Properties getProperties()
setArtifactCollector
void setArtifactCollector(ArtifactCollector collector)
- Parameters:
collector
- Instance to be consulted when adding a new file.
getArtifactCollector
ArtifactCollector getArtifactCollector()
- Returns:
- artifact collector
start
void start()
- Called when exporter should start generating its output