org.apache.ws.jaxme.js.pattern

Class Ant.AntVersionGenerator

Enclosing Class:
Ant

public static class Ant.AntVersionGenerator
extends Ant.BasicAntTask

Ant task for the VersionGenerator

Method Summary

void
generate(JavaSourceFactory pFactory, JavaQName pTargetClass)
Abstract method, which is invoked to generate the target class.
protected Connection
getConnection()
String
getDriver()
Returns the JDBC driver.
String
getPassword()
Returns the JDBC password.
String
getSchema()
Returns the database schema name.
List
getTables()
Returns the table list.
String
getUrl()
Returns the JDBC URL.
String
getUser()
Returns the JDBC user.
String
getVerColumn()
Returns the column with the version number.
boolean
isGeneratingLogging()
Returns whether logging statements are being generated.
void
setDriver(String pDriver)
Sets the JDBC driver.
void
setGeneratingLogging(boolean pGeneratingLogging)
Sets whether logging statements are being generated.
void
setPassword(String pPassword)
Sets the JDBC password.
void
setSchema(String pSchema)
Sets the database schema name.
void
setTables(String pTables)
Sets the table list; the table names are separated with white space.
void
setUrl(String pUrl)
Sets the JDBC URL.
void
setUser(String pUser)
Sets the JDBC user.
void
setVerColumn(String pColumn)
Sets the column with the version number.

Methods inherited from class org.apache.ws.jaxme.js.pattern.Ant.BasicAntTask

doExecute, finish, generate, setTargetClass

Methods inherited from class org.apache.ws.jaxme.js.pattern.Ant.ReallyBasicAntTask

addClasspath, doExecute, execute, finish, getClasspath, getClasspathRef, getDestDir, isSettingLoggerFactory, setClasspathRef, setDestDir, setSettingLoggerFactory

Method Details

generate

public void generate(JavaSourceFactory pFactory,
                     JavaQName pTargetClass)
            throws Exception
Abstract method, which is invoked to generate the target class.
Overrides:
generate in interface Ant.BasicAntTask

getConnection

protected Connection getConnection()
            throws ClassNotFoundException,
                   SQLException

getDriver

public String getDriver()
Returns the JDBC driver.

getPassword

public String getPassword()
Returns the JDBC password.

getSchema

public String getSchema()
Returns the database schema name.

getTables

public List getTables()
Returns the table list.

getUrl

public String getUrl()
Returns the JDBC URL.

getUser

public String getUser()
Returns the JDBC user.

getVerColumn

public String getVerColumn()
Returns the column with the version number.

isGeneratingLogging

public boolean isGeneratingLogging()
Returns whether logging statements are being generated.

setDriver

public void setDriver(String pDriver)
Sets the JDBC driver.

setGeneratingLogging

public void setGeneratingLogging(boolean pGeneratingLogging)
Sets whether logging statements are being generated.

setPassword

public void setPassword(String pPassword)
Sets the JDBC password.

setSchema

public void setSchema(String pSchema)
Sets the database schema name.

setTables

public void setTables(String pTables)
Sets the table list; the table names are separated with white space.

setUrl

public void setUrl(String pUrl)
Sets the JDBC URL.

setUser

public void setUser(String pUser)
Sets the JDBC user.

setVerColumn

public void setVerColumn(String pColumn)
Sets the column with the version number.