|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.torque.mojo.TexenTaskMojo org.apache.torque.mojo.DataModelTaskMojo org.apache.torque.mojo.SqlMojoBase org.apache.torque.mojo.IdTableInitSqlMojo
public class IdTableInitSqlMojo
Generates SQL for populating the id table in the database.
Field Summary | |
---|---|
static String |
INITIALID_CONTEXT_PROPERTY
|
static String |
INITIALIDSTEP_CONTEXT_PROPERTY
|
static String |
INITIALIDVALUE_CONTEXT_PROPERTY
|
Fields inherited from class org.apache.torque.mojo.DataModelTaskMojo |
---|
TARGET_DATABASE_CONTEXT_PROPERTY |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
IdTableInitSqlMojo()
Creates a new IdTableInitSqlMojo object. |
Method Summary | |
---|---|
protected String |
getControlTemplate()
Returns the path to the control template. |
String |
getInitialID()
Returns the initial id of the idtable |
String |
getInitialIDStep()
Returns the initial id step of the idtables |
String |
getInitialIDValue()
Returns the initial id value of the idtables |
protected org.apache.commons.configuration.PropertiesConfiguration |
getMojoContextProperties()
Returns the context properties for the Texen task. |
void |
setInitialID(String initialID)
Sets the initial id of the idtables |
void |
setInitialIDStep(String initialIDStep)
Sets the initial id step of the idtables |
void |
setInitialIDValue(String initialIDValue)
Sets the initial id value of the idtables |
Methods inherited from class org.apache.torque.mojo.SqlMojoBase |
---|
configureTask, getSuffix, setSuffix |
Methods inherited from class org.apache.torque.mojo.DataModelTaskMojo |
---|
execute, getReportFile, getSchemaDir, getSchemaExcludes, getSchemaIncludes, getSqlDbMap, getTargetDatabase, getTargetPackage, isRunOnlyOnSchemaChange, schemaChanged, setReportFile, setRunOnlyOnSchemaChange, setSchemaDir, setSchemaExcludes, setSchemaIncludes, setSqlDbMap, setTargetDatabase, setTargetPackage |
Methods inherited from class org.apache.torque.mojo.TexenTaskMojo |
---|
generateContextProperties, getAntProject, getContextPropertiesPath, getGeneratorTask, getOutputDir, getProject, getTemplatePath, getUseClasspath, getUserContextProperties, setContextPropertiesPath, setGeneratorTask, setOutputDir, setProject, setTemplatePath, setUseClasspath, setUserContextProperties |
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, toString, wait, wait, wait |
Field Detail |
---|
public static final String INITIALID_CONTEXT_PROPERTY
public static final String INITIALIDVALUE_CONTEXT_PROPERTY
public static final String INITIALIDSTEP_CONTEXT_PROPERTY
Constructor Detail |
---|
public IdTableInitSqlMojo()
Method Detail |
---|
public void setInitialID(String initialID)
initialID
- The initial of the idtablespublic String getInitialID()
public void setInitialIDValue(String initialIDValue)
initialIDValue
- The initial id value of the tablespublic String getInitialIDValue()
public void setInitialIDStep(String initialIDStep)
initialIDStep
- The initial id step of the tablespublic String getInitialIDStep()
protected org.apache.commons.configuration.PropertiesConfiguration getMojoContextProperties()
getMojoContextProperties
in class SqlMojoBase
protected String getControlTemplate()
getControlTemplate
in class SqlMojoBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |