org.apache.ws.jaxme.js.pattern

Class Ant.AntVersionGenerator

public static class Ant.AntVersionGenerator extends Ant.BasicAntTask

Ant task for the {@link org.apache.ws.jaxme.js.pattern.VersionGenerator}
Method Summary
voidgenerate(JavaSourceFactory pFactory, JavaQName pTargetClass)
protected ConnectiongetConnection()
StringgetDriver()
Returns the JDBC driver.
StringgetPassword()
Returns the JDBC password.
StringgetSchema()
Returns the database schema name.
ListgetTables()
Returns the table list.
StringgetUrl()
Returns the JDBC URL.
StringgetUser()
Returns the JDBC user.
StringgetVerColumn()
Returns the column with the version number.
booleanisGeneratingLogging()
Returns whether logging statements are being generated.
voidsetDriver(String pDriver)
Sets the JDBC driver.
voidsetGeneratingLogging(boolean pGeneratingLogging)
Sets whether logging statements are being generated.
voidsetPassword(String pPassword)
Sets the JDBC password.
voidsetSchema(String pSchema)
Sets the database schema name.
voidsetTables(String pTables)
Sets the table list; the table names are separated with white space.
voidsetUrl(String pUrl)
Sets the JDBC URL.
voidsetUser(String pUser)
Sets the JDBC user.
voidsetVerColumn(String pColumn)
Sets the column with the version number.

Method Detail

generate

public void generate(JavaSourceFactory pFactory, JavaQName pTargetClass)

getConnection

protected Connection getConnection()

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.