|
||||||||||
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.PojoMojoBase
org.codehaus.mojo.appfuse.mojo.GenerateHibernateDaoMojo
public class GenerateHibernateDaoMojo
This mojo class will create hibernate dao implementations of the dao interfaces from a set of hbm.xml files.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
GenerateHibernateDaoMojo()
Creates a new GenerateHibernateDaoMojo object. |
Method Summary | |
---|---|
java.lang.String |
getOutputPattern()
This method implements the abstract method in the base class allowing a different pattern to be used for this generation. |
protected java.lang.String |
getPackageName()
This method will return the full package name to be used for generating output for the hibernate dao objects. |
java.lang.String |
getTemplateName()
This method implments the abstract method in the base class to allow a different template name to be processed. |
java.lang.String |
toString()
This method creates a String representation of this object. |
protected void |
validateProperties(java.util.Properties inProperties)
This method is used to make sure the proper properties are set to be used in processing this mojo. |
Methods inherited from class org.codehaus.mojo.appfuse.mojo.PojoMojoBase |
---|
augmentFilePattern, buildOutputPattern, buildPackageName, execute, getListOfFilesToProcess, getTemplateHelperClassName, locateTemplate |
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 GenerateHibernateDaoMojo()
Method Detail |
---|
protected java.lang.String getPackageName()
protected void validateProperties(java.util.Properties inProperties)
validateProperties
in class PojoMojoBase
inProperties
- The project properties that already have been populated.public java.lang.String getTemplateName()
getTemplateName
in class PojoMojoBase
public java.lang.String getOutputPattern()
getOutputPattern
in class PojoMojoBase
public java.lang.String toString()
toString
in class PojoMojoBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |