net.sf.jaxme.js.pattern
Class Ant.AntVersionGenerator

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.sf.jaxme.js.pattern.Ant.ReallyBasicAntTask
              extended bynet.sf.jaxme.js.pattern.Ant.BasicAntTask
                  extended bynet.sf.jaxme.js.pattern.Ant.AntVersionGenerator
Enclosing class:
Ant

public static class Ant.AntVersionGenerator
extends Ant.BasicAntTask


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
Ant.AntVersionGenerator()
           
 
Method Summary
 void generate(JavaSourceFactory pFactory, JavaQName pTargetClass)
           
protected  java.sql.Connection getConnection()
           
 java.lang.String getDriver()
           
 java.lang.String getPassword()
           
 java.lang.String getSchema()
           
 java.util.List getTables()
           
 java.lang.String getUrl()
           
 java.lang.String getUser()
           
 java.lang.String getVerColumn()
           
 boolean isGeneratingLogging()
           
 void setDriver(java.lang.String pDriver)
           
 void setGeneratingLogging(boolean pGeneratingLogging)
           
 void setPassword(java.lang.String pPassword)
           
 void setSchema(java.lang.String pSchema)
           
 void setTables(java.lang.String pTables)
           
 void setUrl(java.lang.String pUrl)
           
 void setUser(java.lang.String pUser)
           
 void setVerColumn(java.lang.String pColumn)
           
 
Methods inherited from class net.sf.jaxme.js.pattern.Ant.BasicAntTask
doExecute, finish, setTargetClass
 
Methods inherited from class net.sf.jaxme.js.pattern.Ant.ReallyBasicAntTask
execute, getDestDir, isSettingLoggerFactory, setDestDir, setSettingLoggerFactory
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ant.AntVersionGenerator

public Ant.AntVersionGenerator()
Method Detail

getDriver

public java.lang.String getDriver()

setDriver

public void setDriver(java.lang.String pDriver)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String pPassword)

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String pUrl)

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String pUser)

getSchema

public java.lang.String getSchema()

setSchema

public void setSchema(java.lang.String pSchema)

setTables

public void setTables(java.lang.String pTables)

getTables

public java.util.List getTables()

setVerColumn

public void setVerColumn(java.lang.String pColumn)

getVerColumn

public java.lang.String getVerColumn()

setGeneratingLogging

public void setGeneratingLogging(boolean pGeneratingLogging)

isGeneratingLogging

public boolean isGeneratingLogging()

getConnection

protected java.sql.Connection getConnection()
                                     throws java.lang.ClassNotFoundException,
                                            java.sql.SQLException
Throws:
java.lang.ClassNotFoundException
java.sql.SQLException

generate

public void generate(JavaSourceFactory pFactory,
                     JavaQName pTargetClass)
              throws java.lang.Exception
Specified by:
generate in class Ant.BasicAntTask
Throws:
java.lang.Exception