org.codehaus.mojo.hibernate3.exporter
Class Hbm2JavaGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.hibernate3.HibernateExporterMojo
org.codehaus.mojo.hibernate3.exporter.Hbm2JavaGeneratorMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, ExporterMojo
- Direct Known Subclasses:
- Hbm2DAOExporterMojo
public class Hbm2JavaGeneratorMojo
- extends HibernateExporterMojo
Generates Java classes from set of *.hbm.xml files
- Version:
- $Id: Hbm2JavaGeneratorMojo.java 8545 2009-01-07 00:11:00Z david $
- Author:
- Johann Reyes
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected org.hibernate.tool.hbm2x.Exporter |
configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
Configures the Exporter. |
protected org.hibernate.tool.hbm2x.Exporter |
createExporter()
Instantiates a org.hibernate.tool.hbm2x.POJOExporter object. |
String |
getName()
Returns hbm2java. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hbm2JavaGeneratorMojo
public Hbm2JavaGeneratorMojo()
- Default constructor.
getName
public String getName()
- Returns hbm2java.
- Returns:
- String goal's name
configureExporter
protected org.hibernate.tool.hbm2x.Exporter configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
throws MojoExecutionException
- Description copied from class:
HibernateExporterMojo
- Configures the Exporter.
- Overrides:
configureExporter
in class HibernateExporterMojo
- Parameters:
exp
- Exporter to configure
- Returns:
- Exporter
- Throws:
MojoExecutionException
- if there is an error configuring the exporter- See Also:
HibernateExporterMojo.configureExporter(org.hibernate.tool.hbm2x.Exporter)
createExporter
protected org.hibernate.tool.hbm2x.Exporter createExporter()
- Instantiates a org.hibernate.tool.hbm2x.POJOExporter object.
- Specified by:
createExporter
in class HibernateExporterMojo
- Returns:
- POJOExporter
Copyright © 2005-2010 Codehaus. All Rights Reserved.