## ============================================================================ ## Filename : DataGeneratorAntXMLTemplate.vm ## Note(s) : This template is used to generate a Data Generator Ant XML file. ## ## Copyright (c) 2008-2009 ThinkUI Software Inc. All rights reserved. ## ============================================================================ ## ## **************************************************************************** ## The following variables are available in this template. For more ## information on any of the following variable, please refer to the user guide. ## **************************************************************************** ## $projectName ## $authorName ## $headerText ## $installedDir ## $tableName ## $className ## $dataClass ## $connection ## $outputMode ## $outputWriter ## $outputName ## $numRecords ## $date ## $codeGen ## $sequenceStartValue ## #if ($outputWriter.equals("DB_POPULATE") || $outputWriter.equals("DB_SQL_ONLY")) #if ($outputWriter.equals("DB_SQL_ONLY")) #else #end #elseif ($outputWriter.equals("CSV")) #end #foreach( $attr in $dataClass.getAttributes() ) #if (${codeGen.isPKAttrName($dataClass, $attr.getName())}) #if ($attr.getSequenceName()) #else #end #else #set( $fkRelationship = false ) #set( $fkRelationship = ${codeGen.getFKRelationship($dataClass, $attr.getName())} ) #if ($fkRelationship) #else #end #end #end