KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > webdocwf > util > loader > wizard > OctopusGeneratorData


1
2 /*
3 LoaderGenerator - tool for generated xml, sql and doml file needed for Octopus.
4
5
6     Copyright (C) 2003 Together
7
8     This library is free software; you can redistribute it and/or
9     modify it under the terms of the GNU Lesser General Public
10     License as published by the Free Software Foundation; either
11     version 2.1 of the License, or (at your option) any later version.
12
13     This library is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16     Lesser General Public License for more details.
17
18     You should have received a copy of the GNU Lesser General Public
19     License along with this library; if not, write to the Free Software
20     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */

22
23 package org.webdocwf.util.loader.wizard;
24
25 import java.util.Vector JavaDoc;
26 import org.webdocwf.util.loader.generator.SearchXmlFile;
27 import org.webdocwf.util.loader.LoaderException;
28 //import org.webdocwf.util.loader.Utils;
29

30 /**
31  *
32  * LoaderGeneratorEntry class sets the input parameters
33  * @author Radoslav Dutina
34  * @version 1.0
35  */

36 public class OctopusGeneratorData {
37
38     private static String JavaDoc[] logModes = {
39      "none", "normal", "full"};
40     private String JavaDoc logMode = "";
41     private String JavaDoc logFileDirectory = "";
42     private String JavaDoc logFileName = "";
43       
44     private String JavaDoc sourceType = "";
45     private String JavaDoc targetType = "";
46     private String JavaDoc sourceDatabase = "";
47     private String JavaDoc targetDatabase = "";
48     private String JavaDoc sourceDriverName = "";
49     private String JavaDoc targetDriverName = "";
50     private String JavaDoc valueMode = "";
51     private String JavaDoc generatorOutput = "";
52 // private String generatedDoc = "";
53
private String JavaDoc packageName = "";
54     private String JavaDoc domlPath = "";
55     private String JavaDoc sourceUser = "";
56     private String JavaDoc sourcePassword = "";
57     private String JavaDoc targetUser = "";
58     private String JavaDoc targetPassword = "";
59     private String JavaDoc additonalPaths = "";
60     private String JavaDoc includeTableList = "";
61     private String JavaDoc confJarStructure = "";
62
63     //Output Mode
64
//main
65
private String JavaDoc xmlGenerate = "true";
66     private String JavaDoc sqlGenerate = "true";
67     private String JavaDoc domlGenerate = "";
68     //for generate sql statements
69
private String JavaDoc sqlStmtDropTable = "true";
70     private String JavaDoc sqlStmtDropIntegrity = "true";
71     private String JavaDoc sqlStmtCreateTable = "true";
72     private String JavaDoc sqlStmtCreatePK = "true";
73     private String JavaDoc sqlStmtCreateFK = "true";
74     private String JavaDoc sqlStmtCreateIndex = "true";
75     //optimized modes
76
private String JavaDoc fullMode = "false";
77
78     //for generate sql statements for all vendors
79
private String JavaDoc sqlStmtForAllVendors = "";
80     private static Vector JavaDoc targetVendors = new Vector JavaDoc();
81     private static Vector JavaDoc sourceVendors = new Vector JavaDoc();
82     private static Vector JavaDoc allVendorsPath = new Vector JavaDoc();
83     private static Vector JavaDoc sourceDrivers = new Vector JavaDoc();
84     private static Vector JavaDoc targetDrivers = new Vector JavaDoc();
85
86     private static String JavaDoc[] targetDatabaseTypes;
87     private static String JavaDoc[] sourceDatabaseTypes;
88     private static String JavaDoc[] sourceDriverNames;
89     private static String JavaDoc[] targetDriverNames;
90     private static final String JavaDoc[] valueModes = { "copy" };
91
92     /**
93     * Constuctor of LoaderGeneratorEntry class
94     * @throws LoaderException
95     */

96     public OctopusGeneratorData(String JavaDoc confJarStructure) throws LoaderException {
97         SearchXmlFile searchXmlFile =
98             new SearchXmlFile("relative", "OctopusDBVendors.xml", confJarStructure);
99         this.confJarStructure = confJarStructure;
100         this.targetVendors = searchXmlFile.getAllVendors();
101         this.allVendorsPath = searchXmlFile.getAllVendorsPath();
102         setAllVendorsAndDrivers(targetVendors, allVendorsPath);
103     }
104
105     /**
106      * This method set value of targetDrivers and sourceDrivers parameters
107      * @param all_Vendors is vector which represents all named vendors
108      * @param all_VendorsPath is vector which represents all vendors path
109      * @throws LoaderException
110      */

111     public void setAllVendorsAndDrivers(Vector JavaDoc all_Vendors, Vector JavaDoc all_VendorsPath)
112         throws LoaderException {
113         for (int i = 0; i < all_VendorsPath.size(); i++) {
114             Vector JavaDoc targetDriversTemp = new Vector JavaDoc();
115             Vector JavaDoc sourceDriversTemp = new Vector JavaDoc();
116             String JavaDoc path = all_VendorsPath.get(i).toString();
117             SearchXmlFile searchXmlFile = new SearchXmlFile("absolute", path, confJarStructure);
118             Vector JavaDoc drivers = searchXmlFile.getAllDriversForVendor();
119             targetDriversTemp = (Vector JavaDoc) drivers.get(0);
120             sourceDriversTemp = (Vector JavaDoc) drivers.get(1);
121             String JavaDoc isSourceVendor = (String JavaDoc) drivers.get(2);
122
123             if (isSourceVendor.equalsIgnoreCase("true")) {
124                 if (!sourceVendors.contains(all_Vendors.get(i)))
125                     sourceVendors.add(all_Vendors.get(i));
126             }
127
128             boolean repeatTarget = false;
129             boolean repeatSource = false;
130             for (int j = 0; j < targetDriversTemp.size(); j++) {
131                 String JavaDoc targetDriverName = targetDriversTemp.get(j).toString();
132                 for (int k = 0; k < targetDrivers.size(); k++) {
133                     if (targetDrivers.get(k).toString().equalsIgnoreCase(targetDriverName)) {
134                         repeatTarget = true;
135                         break;
136                     }
137                 }
138                 if (repeatTarget == false)
139                     this.targetDrivers.add(targetDriverName);
140             }
141             for (int j = 0; j < sourceDriversTemp.size(); j++) {
142                 String JavaDoc sourceDriverName = sourceDriversTemp.get(j).toString();
143                 for (int k = 0; k < sourceDrivers.size(); k++) {
144                     if (sourceDrivers.get(k).toString().equalsIgnoreCase(sourceDriverName)) {
145                         repeatSource = true;
146                         break;
147                     }
148                 }
149                 if (repeatSource == false)
150                     this.sourceDrivers.add(sourceDriverName);
151             }
152         }
153     }
154
155     /**
156      * This method read the value of targetDatabaseTypes parameter
157      * @return value of parameter
158      */

159     public static String JavaDoc[] getTargetDatabaseTypes() {
160         targetDatabaseTypes = new String JavaDoc[targetVendors.size()];
161         for (int i = 0; i < targetVendors.size(); i++) {
162             targetDatabaseTypes[i] = targetVendors.get(i).toString();
163         }
164         return targetDatabaseTypes;
165     }
166
167     /**
168      * This method read the value of sourceDatabaseTypes parameter
169      * @return value of parameter
170      */

171     public static String JavaDoc[] getSourceDatabaseTypes() {
172         sourceDatabaseTypes = new String JavaDoc[sourceVendors.size()];
173         for (int i = 0; i < sourceVendors.size(); i++) {
174             sourceDatabaseTypes[i] = sourceVendors.get(i).toString();
175         }
176         return sourceDatabaseTypes;
177     }
178
179     /**
180      * This method read the value of sourceDriverNames parameter
181      * @return value of parameter
182      */

183     public static String JavaDoc[] getSourceDriverNames() {
184         sourceDriverNames = new String JavaDoc[sourceDrivers.size()];
185         for (int i = 0; i < sourceDrivers.size(); i++) {
186             sourceDriverNames[i] = sourceDrivers.get(i).toString();
187         }
188         return sourceDriverNames;
189     }
190
191     /**
192      * This method read the value of sourceDriverNames parameter
193      * @return value of parameter
194      */

195     public static String JavaDoc[] getTargetDriverNames() {
196         targetDriverNames = new String JavaDoc[targetDrivers.size()];
197         for (int i = 0; i < targetDrivers.size(); i++) {
198             targetDriverNames[i] = targetDrivers.get(i).toString();
199         }
200         return targetDriverNames;
201     }
202
203     /**
204      * This method read the value of valueModes parameter
205      * @return value of parameter
206      */

207     public static String JavaDoc[] getValueModes() {
208         return valueModes;
209     }
210
211     /**
212      * This method sets the additionalPaths parameter
213      * @param additonal_Paths is the value of paramter
214      */

215     public void setAdditionalPaths(String JavaDoc additonal_Paths) {
216         if (additonal_Paths.startsWith(";")) {
217             if (additonal_Paths.endsWith(";"))
218                 additonalPaths = additonal_Paths.substring(1, additonal_Paths.length() - 1);
219             else
220                 additonalPaths = additonal_Paths.substring(1);
221         } else
222             if (additonal_Paths.endsWith(";")) {
223                 additonalPaths = additonal_Paths.substring(0, additonal_Paths.length() - 1);
224             } else {
225                 additonalPaths = additonal_Paths;
226             }
227     }
228
229
230     /**
231       * This method read value of logMod parameter
232       * @return value of parameter
233       */

234      public static String JavaDoc[] getLogModes() {
235        return logModes;
236      }
237     /**
238       * This mehod set value of logMode parameter
239       * @param log_Mode is value of parameter
240       */

241      public void setLogMode(String JavaDoc log_Mode) {
242        this.logMode = log_Mode;
243      }
244      
245     /**
246       * This method read value of logMods parameter
247       * @return value of parameter
248       */

249      public String JavaDoc getLogMode() {
250        return logMode;
251      }
252      
253     /**
254       * This method set value of logFileDirectory parameter
255       * @param log_FileDirectory is value of parameter
256       */

257      public void setLogFileDir(String JavaDoc log_FileDirectory) {
258        this.logFileDirectory = log_FileDirectory;
259      }
260
261      /**
262       * This method read value of logFileDirectory parameter
263       * @return value of parameter
264       */

265      public String JavaDoc getLogFileDir() {
266        return this.logFileDirectory;
267      }
268
269      /**
270       * This method set value of logFileName parameter
271       * @param log_FileName is value of parameter
272       */

273      public void setLogFileName(String JavaDoc log_FileName) {
274        this.logFileName = log_FileName;
275      }
276
277      /**
278       * This method read value of logFileName parameter
279       * @return value of parameter
280       */

281      public String JavaDoc getLogFileName() {
282        return this.logFileName;
283      }
284     /**
285      * This method read the value of additonalPaths parameter
286      * @return value of parameter
287      */

288     public String JavaDoc getAdditionalPaths() {
289         return additonalPaths;
290     }
291
292     /**
293      * This method sets the value of sourceType parameter
294      * @param source_Type is value of parameter
295      */

296     public void setSourceType(String JavaDoc source_Type) {
297         sourceType = source_Type;
298     }
299
300     /**
301      * This method read value of sourceType parameter
302      * @return value of parameter
303      */

304     public String JavaDoc getSourceType() {
305         return sourceType;
306     }
307
308     /**
309      * This method sets value of targetType parameter
310      * @param target_Type is value of parameter
311      */

312     public void setTargetType(String JavaDoc target_Type) {
313         targetType = target_Type;
314     }
315
316     /**
317      * This method read value of targetType parameter
318      * @return value of parameter
319      */

320     public String JavaDoc getTargetType() {
321         return targetType;
322     }
323
324     /**
325      * This method sets value of sourceDatabase parameter
326      * @param source_Database is value of parameter
327      */

328     public void setSourceDatabase(String JavaDoc source_Database) {
329         sourceDatabase = source_Database;
330     }
331
332     /**
333      * This method read value of sourceDatabase parameter
334      * @return value of parameter
335      */

336     public String JavaDoc getSourceDatabase() {
337         return sourceDatabase;
338     }
339
340     /**
341      * This method sets value of targetDatabase parameter
342      * @param target_Database is value of parameter
343      */

344     public void setTargetDatabase(String JavaDoc target_Database) {
345         targetDatabase = target_Database;
346     }
347
348     /**
349      * This method read value of targetDatabase parameter
350      * @return value of parameter
351      */

352     public String JavaDoc getTargetDatabase() {
353         return targetDatabase;
354     }
355
356     /**
357      * This method sets value of valueMode parameter
358      * @param value_Mode is value of parameter
359      */

360     public void setValueMode(String JavaDoc value_Mode) {
361         valueMode = value_Mode;
362     }
363
364     /**
365      * This method read value of valueMode parameter
366      * @return value of parameter
367      */

368     public String JavaDoc getValueMode() {
369         return valueMode;
370     }
371
372     /**
373      * This method sets value of generatorOutput parameter
374      * @param generator_Output is value of parameter
375      */

376     public void setGeneratorOutput(String JavaDoc generator_Output) {
377         generatorOutput = generator_Output;
378     }
379
380     /**
381      * This method read value of generatorOutput parameter
382      * @return value of parameter
383      */

384     public String JavaDoc getGeneratorOutput() {
385         return generatorOutput;
386     }
387
388     /**
389      * This method sets value of sourceUser parameter
390      * @param source_User is value of parameter
391      */

392     public void setSourceUser(String JavaDoc source_User) {
393         sourceUser = source_User;
394     }
395
396     /**
397      * This method read value of sourceUser parameter
398      * @return value of parameter
399      */

400     public String JavaDoc getSourceUser() {
401         return sourceUser;
402     }
403
404     /**
405      * This method sets value of sourcePassword parameter
406      * @param source_Password is value of paramter
407      */

408     public void setSourcePassword(String JavaDoc source_Password) {
409         sourcePassword = source_Password;
410     }
411
412     /**
413      * This method read value of sourcePassword parameter
414      * @return value of parameter
415      */

416     public String JavaDoc getSourcePassword() {
417         return sourcePassword;
418     }
419
420     /**
421      * This method sets value of targetUser parameter
422      * @param target_User is value of parameter
423      */

424     public void setTargetUser(String JavaDoc target_User) {
425         targetUser = target_User;
426     }
427
428     /**
429      * This method read value of targetUser parameter
430      * @return value of parameter
431      */

432     public String JavaDoc getTargetUser() {
433         return targetUser;
434     }
435
436     /**
437      * This method sets value of targetPassword parameter
438      * @param target_Password is value of parameter
439      */

440     public void setTargetPassword(String JavaDoc target_Password) {
441         targetPassword = target_Password;
442     }
443
444     /**
445      * This method read value of targetPassword parameter
446      * @return value of parameter
447      */

448     public String JavaDoc getTargetPassword() {
449         return targetPassword;
450     }
451
452     /**
453      * This method read value of generatedDoc parameter
454      * @return value of parameter
455      */

456 // public String getGeneratedDoc() {
457
// return generatedDoc;
458
// }
459

460     /**
461      * This method sets value of packageName parameter
462      * @param package_Name is value of parameter
463      */

464     public void setPackageName(String JavaDoc package_Name) {
465         packageName = package_Name;
466     }
467
468     /**
469      * This method read value of packageName parameter
470      * @return value of parameter
471      */

472     public String JavaDoc getPackageName() {
473         return packageName;
474     }
475
476     /**
477      * This method sets value of domlPath parameter
478      * @param doml_Path is value of parameter
479      */

480     public void setDomlPath(String JavaDoc doml_Path) {
481         domlPath = doml_Path;
482     }
483
484     /**
485      * This method read value of domlPath parameter
486      * @return value of parameter
487      */

488     public String JavaDoc getDomlPath() {
489         return domlPath;
490     }
491
492     /**
493      * This method sets value of sourceDriverName parameter
494      * @param source_DriverName is value of parameter
495      */

496     public void setSourceDriverName(String JavaDoc source_DriverName) {
497         sourceDriverName = source_DriverName;
498     }
499
500     /**
501      * This method read value of sourceDriverName parameter
502      * @return value of parameter
503      */

504     public String JavaDoc getSourceDriverName() {
505         return sourceDriverName;
506     }
507
508     /**
509      * This method sets value of targetDriverName parameter
510      * @param target_DriverName is value of parameter
511      */

512     public void setTargetDriverName(String JavaDoc target_DriverName) {
513         targetDriverName = target_DriverName;
514     }
515
516     /**
517      * This method read value of targetDriverName parameter
518      * @return value of parameter
519      */

520     public String JavaDoc getTargetDriverName() {
521         return targetDriverName;
522     }
523
524     /**
525      * This method sets value of sqlStmtDropTable parameter
526      * @param sqlStmt_DropTable is value of parameter
527      */

528     public void setSqlStmtDropTable(String JavaDoc sqlStmt_DropTable) {
529         sqlStmtDropTable = sqlStmt_DropTable;
530     }
531
532     /**
533      * This method read value of sqlStmtDropTable parameter
534      * @return value of parameter
535      */

536     public String JavaDoc getSqlStmtDropTable() {
537         return sqlStmtDropTable;
538     }
539
540     /**
541      * This method sets value of sqlStmtDropIntegrity parameter
542      * @param sqlStmt_DropIntegrity is value of parameter
543      */

544     public void setSqlStmtDropIntegrity(String JavaDoc sqlStmt_DropIntegrity) {
545         sqlStmtDropIntegrity = sqlStmt_DropIntegrity;
546     }
547
548     /**
549      * This method read value of sqlStmtDropIntegrity parameter
550      * @return value of parameter
551      */

552     public String JavaDoc getSqlStmtDropIntegrity() {
553         return sqlStmtDropIntegrity;
554     }
555
556     /**
557      * This method sets value of sqlStmtCreateTable parameter
558      * @param sqlStmt_CreateTable is value of parameter
559      */

560     public void setSqlStmtCreateTable(String JavaDoc sqlStmt_CreateTable) {
561         sqlStmtCreateTable = sqlStmt_CreateTable;
562     }
563
564     /**
565      * This method read value of sqlStmtCreateTable parameter
566      * @return value of parameter
567      */

568     public String JavaDoc getSqlStmtCreateTable() {
569         return sqlStmtCreateTable;
570     }
571
572     /**
573      * This method sets value of sqlStmtCreatePK parameter
574      * @param sqlStmt_CreatePK is value of parameter
575      */

576     public void setSqlStmtCreatePK(String JavaDoc sqlStmt_CreatePK) {
577         sqlStmtCreatePK = sqlStmt_CreatePK;
578     }
579
580     /**
581      * This method read value of sqlStmtCreatePK parameter
582      * @return value of parameter
583      */

584     public String JavaDoc getSqlStmtCreatePK() {
585         return sqlStmtCreatePK;
586     }
587
588     /**
589      * This method sets value of sqlStmtCreateFK parameter
590      * @param sqlStmt_CreateFK is value of parameter
591      */

592     public void setSqlStmtCreateFK(String JavaDoc sqlStmt_CreateFK) {
593         sqlStmtCreateFK = sqlStmt_CreateFK;
594     }
595
596     /**
597      * This method read value of sqlStmtCreateFK parameter
598      * @return value of parameter
599      */

600     public String JavaDoc getSqlStmtCreateFK() {
601         return sqlStmtCreateFK;
602     }
603
604     /**
605      * This method sets value of sqlStmtCreateIndex parameter
606      * @param sqlStmt_CreateIndex is value of parameter
607      */

608     public void setSqlStmtCreateIndex(String JavaDoc sqlStmt_CreateIndex) {
609         sqlStmtCreateIndex = sqlStmt_CreateIndex;
610     }
611
612     /**
613      * This method read value of sqlStmtCreateIndex parameter
614      * @return value of parameter
615      */

616     public String JavaDoc getSqlStmtCreateIndex() {
617         return sqlStmtCreateIndex;
618     }
619
620     /**
621      * This method sets value of sqlStmtForAllVendors parameter
622      * @param sqlStmt_ForAllVendors is value of parameter
623      */

624     public void setSqlStmtForAllVendors(String JavaDoc sqlStmt_ForAllVendors) {
625         sqlStmtForAllVendors = sqlStmt_ForAllVendors;
626     }
627
628     /**
629      * This method read value of sqlStmtForAllVendors parameter
630      * @return value of parameter
631      */

632     public String JavaDoc getSqlStmtForAllVendors() {
633         return sqlStmtForAllVendors;
634     }
635
636     /**
637      * This method read value of xmlGenerate parameter
638      * @return value of parameter
639      */

640     public String JavaDoc getXmlGenerate() {
641         return xmlGenerate;
642     }
643
644     /**
645      * This method sets value of xmlenerate parameter
646      * @param xml_Generate is value of parameter
647      */

648     public void setXmlGenerate(String JavaDoc xml_Generate) {
649         xmlGenerate = xml_Generate;
650     }
651
652     /**
653      * This method read value of sqlGenerate parameter
654      * @return value of parameter
655      */

656     public String JavaDoc getSqlGenerate() {
657         return sqlGenerate;
658     }
659
660     /**
661      * This method sets value of sqlGenerate parameter
662      * @param sql_Generate is value of parameter
663      */

664     public void setSqlGenerate(String JavaDoc sql_Generate) {
665         sqlGenerate = sql_Generate;
666     }
667
668     /**
669      * This method read value of domlGenerate parameter
670      * @return value of parameter
671      */

672     public String JavaDoc getDomlGenerate() {
673         return domlGenerate;
674     }
675
676     /**
677      * This method sets value of domlGenerate parameter
678      * @param doml_Generate is value of parameter
679      */

680     public void setDomlGenerate(String JavaDoc doml_Generate) {
681         domlGenerate = doml_Generate;
682     }
683
684     /**
685      * This method set value of fullMode parameter
686      * @param full_mode is value of parameter
687      */

688     public void setFullMode(String JavaDoc full_mode) {
689         fullMode = full_mode;
690     }
691
692     /**
693      * This methos read value of fullMode parameter
694      * @return value of parameter
695      */

696     public String JavaDoc getFullMode() {
697         return fullMode;
698     }
699
700     /**
701      * This method set value of includeTableList parameter
702      * @param incude_table_list is value of parameter
703      */

704     public void setIncludeTableList(String JavaDoc incude_table_list) {
705         includeTableList = incude_table_list;
706     }
707
708     /**
709      * This methos read value of includeTableList parameter
710      * @return value of parameter
711      */

712     public String JavaDoc getIncludeTableList() {
713         return includeTableList;
714     }
715
716     /**
717        * This method set value of confJarStructure parameter
718        * @param conf_jar_structure is value of parameter
719        */

720     public void setConfJarStructure(String JavaDoc conf_jar_structure) {
721         confJarStructure = conf_jar_structure;
722     }
723
724     /**
725      * This methos read value of confJarStructure parameter
726      * @return value of parameter
727      */

728     public String JavaDoc getConfJarStructure() {
729         return confJarStructure;
730     }
731     
732     public String JavaDoc toConfString() {
733         String JavaDoc retVal = "";
734         retVal += "\nGenerator.AdditionalPaths="+this.getAdditionalPaths();
735         retVal += "\nGenerator.ConfJarStructure="+this.getConfJarStructure();
736         retVal += "\nGenerator.DomlGenerate="+this.getDomlGenerate();
737         retVal += "\nGenerator.DomlPath="+this.getDomlPath();
738         retVal += "\nGenerator.FullMode="+this.getFullMode();
739         retVal += "\nGenerator.GeneratorOutput="+this.getGeneratorOutput();
740         retVal += "\nGenerator.IncludeTableList="+this.getIncludeTableList();
741         retVal += "\nGenerator.PackageName="+this.getPackageName();
742         retVal += "\nGenerator.SourceDatabase="+this.getSourceDatabase();
743         retVal += "\nGenerator.SourceDriverName="+this.getSourceDriverName();
744         retVal += "\nGenerator.SourcePassword="+this.getSourcePassword();
745         retVal += "\nGenerator.SourceType="+this.getSourceType();
746         retVal += "\nGenerator.SourceUser="+this.getSourceUser();
747         retVal += "\nGenerator.SqlGenerate="+this.getSqlGenerate();
748         retVal += "\nGenerator.SqlStmtCreateFK="+this.getSqlStmtCreateFK();
749         retVal += "\nGenerator.SqlStmtCreateIndex="+this.getSqlStmtCreateIndex();
750         retVal += "\nGenerator.SqlStmtCreatePK="+this.getSqlStmtCreatePK();
751         retVal += "\nGenerator.SqlStmtCreateTable="+this.getSqlStmtCreateTable();
752         retVal += "\nGenerator.SqlStmtDropIntegrity="+this.getSqlStmtDropIntegrity();
753         retVal += "\nGenerator.SqlStmtDropTable="+this.getSqlStmtDropTable();
754         retVal += "\nGenerator.SqlStmtForAllVendors="+this.getSqlStmtForAllVendors();
755         retVal += "\nGenerator.TargetDatabase="+this.getTargetDatabase();
756         retVal += "\nGenerator.TargetDriverName="+this.getTargetDriverName();
757         
758         retVal += "\nGenerator.TargetPassword="+this.getTargetPassword();
759         retVal += "\nGenerator.TargetType="+this.getTargetType();
760         retVal += "\nGenerator.TargetUser="+this.getTargetUser();
761         retVal += "\nGenerator.ValueMode="+this.getValueMode();
762         retVal += "\nGenerator.XmlGenerate="+this.getXmlGenerate();
763         
764         retVal += "\nGenerator.LogMode="+this.getLogMode();
765         retVal += "\nGenerator.LogFileName="+this.getLogFileName();
766         retVal += "\nGenerator.LogFileDir="+this.getLogFileDir();
767         return retVal;
768       }
769
770 }
771
Popular Tags