Package org.apache.torque.ant.task

# Klasse Torque4JDBCTransformTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.torque.ant.task.Torque4JDBCTransformTask

Alle implementierten Schnittstellen:
  `Cloneable`

public class Torque4JDBCTransformTask extends org.apache.tools.ant.Task
This class generates an XML schema of an existing database from JDBC metadata.

Version:
  $Id: Torque4JDBCTransformTask.java 1917238 2024-04-21 13:21:14Z tv $
Autor:
  Jason van Zyl, Fedor Karpelevitch

- ## Feldübersicht

  Felder
  Modifizierer und Typ
  Feld
  Beschreibung
  `protected String`
  `dbDriver`
  JDBC driver.
  `protected String`
  `dbPassword`
  JDBC password.
  `protected String`
  `dbUrl`
  JDBC URL.
  `protected String`
  `dbUser`
  JDBC user name.
  `protected String`
  `xmlSchema`
  Name of XML database schema produced.

  ### Von Klasse geerbte Felder org.apache.tools.ant.Task

  `target, taskName, taskType, wrapper`

  ### Von Klasse geerbte Felder org.apache.tools.ant.ProjectComponent

  `description, location, project`

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `Torque4JDBCTransformTask()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  `execute()`
  Default constructor.
  `void`
  `generateXML()`
  Generates an XML database schema from JDBC metadata.
  `void`
  `setConfigDir(File configDir)`
  `void`
  `setConfigPackage(String configPackage)`
  `void`
  `setDbDriver(String v)`
  `void`
  `setDbPassword(String dbPassword)`
  `void`
  `setDbUrl(String v)`
  `void`
  `setDbUser(String dbUser)`
  `void`
  `setDefaultOutputDir(File defaultOutputDir)`
  Sets the default output base directory for generated files.
  `void`
  `setPackaging(String packaging)`
  Sets the packaging.
  `void`
  `setProjectRootDir(File projectRootDir)`
  Sets the root directory of the project.

  ### Von Klasse geerbte Methoden org.apache.tools.ant.Task

  `bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType`

  ### Von Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent

  `clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject`

  ### Von Klasse geerbte Methoden java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Felddetails

  - ### xmlSchema

    protected String xmlSchema
    Name of XML database schema produced.

  - ### dbUrl

    protected String dbUrl
    JDBC URL.

  - ### dbDriver

    protected String dbDriver
    JDBC driver.

  - ### dbUser

    protected String dbUser
    JDBC user name.

  - ### dbPassword

    protected String dbPassword
    JDBC password.

- ## Konstruktordetails

  - ### Torque4JDBCTransformTask

    public Torque4JDBCTransformTask()

- ## Methodendetails

  - ### setDbUrl

    public void setDbUrl(String v)

  - ### setDbDriver

    public void setDbDriver(String v)

  - ### execute

    public void execute() throws org.apache.tools.ant.BuildException
    Default constructor.
    Setzt außer Kraft:
      `execute` in Klasse `org.apache.tools.ant.Task`
    Löst aus:
      `org.apache.tools.ant.BuildException`

  - ### generateXML

    public void generateXML() throws Exception
    Generates an XML database schema from JDBC metadata.
    Löst aus:
      `Exception` - a generic exception.

  - ### setConfigDir

    public void setConfigDir(File configDir)

  - ### setConfigPackage

    public void setConfigPackage(String configPackage)

  - ### setDefaultOutputDir

    public void setDefaultOutputDir(File defaultOutputDir)
    Sets the default output base directory for generated files.
    Parameter:
      `defaultOutputDir` - the default output directory, or null to use the default.

  - ### setProjectRootDir

    public void setProjectRootDir(File projectRootDir)
    Sets the root directory of the project.
    Parameter:
      `projectRootDir` - the project root Directory.

  - ### setPackaging

    public void setPackaging(String packaging)
    Sets the packaging.
    Parameter:
      `packaging` - the packaging or "directory"

  - ### setDbUser

    public void setDbUser(String dbUser)

  - ### setDbPassword

    public void setDbPassword(String dbPassword)