org.asyrinx.joey.gen.task
クラス JoeySQLTask

java.lang.Object
  拡張org.apache.tools.ant.ProjectComponent
      拡張org.apache.tools.ant.Task
          拡張org.apache.velocity.texen.ant.TexenTask
              拡張org.asyrinx.joey.gen.task.BaseJoeyDataModelTask
                  拡張org.asyrinx.joey.gen.task.JoeyDataModelTask
                      拡張org.asyrinx.joey.gen.task.JoeySQLTask

public class JoeySQLTask
extends JoeyDataModelTask

作成者:
akima

フィールドの概要
 
クラス org.asyrinx.joey.gen.task.JoeyDataModelTask から継承したフィールド
pageGenerator
 
クラス org.asyrinx.joey.gen.task.BaseJoeyDataModelTask から継承したフィールド
context, databaseNames, dataModelDbMap, dataModels, filesets, sqldbmap, xmlFile
 
クラス org.apache.velocity.texen.ant.TexenTask から継承したフィールド
contextProperties, controlTemplate, inputEncoding, outputDirectory, outputEncoding, outputFile, templatePath, useClasspath
 
クラス org.apache.tools.ant.Task から継承したフィールド
description, location, target, taskName, taskType, wrapper
 
クラス org.apache.tools.ant.ProjectComponent から継承したフィールド
project
 
コンストラクタの概要
JoeySQLTask()
           
 
メソッドの概要
 java.lang.String getDatabase()
           
 java.lang.String getIdTableXMLFile()
          Gets the id-table xml schema file path.
 java.lang.String getSuffix()
           
 org.apache.velocity.context.Context initControlContext()
          Place our target database and target platform values into the context for use in the templates.
 void loadIdBrokerModel()
          Create the database model necessary for the IDBroker tables.
 void setDatabase(java.lang.String database)
           
 void setIdTableXMLFile(java.lang.String idXmlFile)
          Set the path to the xml schema file that defines the id-table, used by the idbroker method.
 void setSuffix(java.lang.String suffix)
           
 
クラス org.asyrinx.joey.gen.task.JoeyDataModelTask から継承したメソッド
addNewAppData
 
クラス org.asyrinx.joey.gen.task.BaseJoeyDataModelTask から継承したメソッド
addFileset, getBasePathToDbProps, getDataModelDbMap, getDataModels, getSqlDbMap, getTargetDatabase, getTargetPackage, getXmlFile, grokName, setBasePathToDbProps, setContextProperties, setSqlDbMap, setTargetDatabase, setTargetPackage, setXmlFile
 
クラス org.apache.velocity.texen.ant.TexenTask から継承したメソッド
cleanup, execute, getContextProperties, getControlTemplate, getOutputDirectory, getOutputFile, getTemplatePath, populateInitialContext, setControlTemplate, setInputEncoding, setOutputDirectory, setOutputEncoding, setOutputFile, setTemplatePath, setUseClasspath
 
クラス org.apache.tools.ant.Task から継承したメソッド
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
クラス org.apache.tools.ant.ProjectComponent から継承したメソッド
getProject, setProject
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JoeySQLTask

public JoeySQLTask()
メソッドの詳細

setDatabase

public void setDatabase(java.lang.String database)
パラメータ:
database -

getDatabase

public java.lang.String getDatabase()
戻り値:

setSuffix

public void setSuffix(java.lang.String suffix)
パラメータ:
suffix -

getSuffix

public java.lang.String getSuffix()
戻り値:

setIdTableXMLFile

public void setIdTableXMLFile(java.lang.String idXmlFile)
Set the path to the xml schema file that defines the id-table, used by the idbroker method.

パラメータ:
idXmlFile - xml schema file

getIdTableXMLFile

public java.lang.String getIdTableXMLFile()
Gets the id-table xml schema file path.

戻り値:
Path to file.

loadIdBrokerModel

public void loadIdBrokerModel()
                       throws org.apache.torque.engine.EngineException
Create the database model necessary for the IDBroker tables. We use the model to generate the necessary SQL to create these tables. This method adds an AppData object containing the model to the context under the name "idmodel".

例外:
org.apache.torque.engine.EngineException

initControlContext

public org.apache.velocity.context.Context initControlContext()
                                                       throws java.lang.Exception
Place our target database and target platform values into the context for use in the templates.

オーバーライド:
クラス JoeyDataModelTask 内の initControlContext
戻り値:
the context
例外:
java.lang.Exception
関連項目:
org.asyrinx.brownie.windmill.task.BaseDataModelTask#initControlContext()


Copyright © 2004 asyrinx organization. All Rights Reserved.