|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appfuse.mojo.MojoBase
org.codehaus.mojo.appfuse.mojo.DbToXMLMojo
public class DbToXMLMojo
This mojo class will reverse engineer a set of hbm.xml files from a database connection.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
DbToXMLMojo()
Creates a new DbToXMLMojo object. |
Method Summary | |
---|---|
void |
execute()
This method will run the database conversion to hbm file mojo task. |
java.lang.String |
getDatabasePropertiesFile()
Getter for property database properties file. |
java.lang.String |
getHbmTemplateName()
Getter for property hbm template name. |
java.lang.String |
getReverseEngineeringConfigurationFile()
Getter for property reverse engineering configuration file. |
java.lang.String |
getReverseStrategyClass()
Getter for property reverse strategy class. |
void |
setDatabasePropertiesFile(java.lang.String inDatabasePropertiesFile)
Setter for the database properties file. |
void |
setHbmTemplateName(java.lang.String inHbmTemplateName)
Setter for the hbm template name. |
void |
setReverseEngineeringConfigurationFile(java.lang.String inReverseEngineeringConfigurationFile)
Setter for the reverse engineering configuration file. |
void |
setReverseStrategyClass(java.lang.String inReverseStrategyClass)
Setter for the reverse strategy class. |
java.lang.String |
toString()
toString methode: creates a String representation of the object |
Methods inherited from class org.codehaus.mojo.appfuse.mojo.MojoBase |
---|
getBasePackageName, getCopyOverWrite, getFilePattern, getModelDirectory, getModelPackageName, getMojoName, getOutputDirectory, getProcessingProperties, getSourceDirectory, setBasePackageName, setCopyOverWrite, setFilePattern, setModelDirectory, setMojoName, setOutputDirectory, setProcessingProperties, setSourceDirectory |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DbToXMLMojo()
Method Detail |
---|
public java.lang.String getHbmTemplateName()
public void setHbmTemplateName(java.lang.String inHbmTemplateName)
inHbmTemplateName
- The value of hbm template name.public java.lang.String getDatabasePropertiesFile()
public void setDatabasePropertiesFile(java.lang.String inDatabasePropertiesFile)
inDatabasePropertiesFile
- The value of database properties file.public java.lang.String getReverseEngineeringConfigurationFile()
public void setReverseEngineeringConfigurationFile(java.lang.String inReverseEngineeringConfigurationFile)
inReverseEngineeringConfigurationFile
- The value of reverse engineering configuration file.public java.lang.String getReverseStrategyClass()
public void setReverseStrategyClass(java.lang.String inReverseStrategyClass)
inReverseStrategyClass
- The value of reverse strategy class.public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class MojoBase
org.apache.maven.plugin.MojoExecutionException
- Thrown if we fail to obtain an appfuse resource.public java.lang.String toString()
toString
in class MojoBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |