Menu

[r3156]: / trunk / ch.sahits.codegen.help / html / concepts / datacheck.html  Maximize  Restore  History

Download this file

242 lines (212 with data), 13.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Data Checks</title>
</head>
<body>
<h1>Data Checks</h1>
<p>This section tells you about the checks that are implemented in
the wizard.</p>
<h3>Class definition</h3>
<p>The checks on this page are the same as the one in the ordinary
class wizard.</p>
<h3>Java Code Generation</h3>
<p>Since different values are needed for the different ways of code
generation let us splitt the checks up:</p>
<h4>Generating code with Java Emitter templates</h4>
<p><a href="pic/jetemplate_page2.png">Screenshot:</a> As seen in the
<a href="jetemplate.html">walkthrough</a> There are to ways for
generating code for a database table:<br>
Through an <a href="inputfile.html">input file</a>. Here the following fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>DB product must be specified (NONE is not valid)</li>
</ul>
<p>Through a database connection:</p>
<ul>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>DB product must be specified (NONE is not valid)</li>
<li>Information from page 3 are needed</li>
</ul>
<p>If you choose to go with the option "Without DB" the following
fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
</ul>
<h4>JETemplate with AST improvement</h4>
<p><a href="pic/jetemplateast_page2.png">Screenshot:</a> As seen in
the <a href="jettemplateAstImprovement.html">walkthrough</a> There are
to ways for generating code for a database table:<br>
Through an <a href="inputfile.html">input file</a>. Here the following fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="doc/ch/sahits/codegen/java/generator/ast/IJETASTGenerator.html">IJETASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
</ul>
<p>Through a database connection:</p>
<ul>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IJETASTGenerator.html">IJETASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
<li>Information from page 3 are needed</li>
</ul>
<p>If you choose to go with the option "Without DB" the following
fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IJETASTGenerator.html">IJETASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
</ul>
<h4>Generate JETemplate</h4>
<p><a href="pic/jetgeneration_page2.png">Screenshot:</a> As seen in
the <a href="generateJETemplate.html">walkthrough</a> There are
to ways for generating code for a database table:<br>
Through an <a href="inputfile.html">input file</a>. Here the following fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/IJetCodeGenerator.html">IJetCodeGenerator</a></li>
<li>DB product must be specified (NONE is not valid)</li>
</ul>
<p>Through a database connection:</p>
<ul>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/IJetCodeGenerator.html">IJetCodeGenerator</a></li>
<li>DB product must be specified (NONE is not valid)</li>
<li>Information from page 3 are needed</li>
</ul>
<p>If you choose to go with the option "Without DB" the following
fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/IJetCodeGenerator.html">IJetCodeGenerator</a></li>
</ul>
<h4>AST generation</h4>
<p><a href="pic/astgeneration_page2.png">Screenshot:</a> As seen in
the <a href="ASTGeneration.html">walkthrough</a> There are
to ways for generating code for a database table:<br>
Through an <a href="inputfile.html">input file</a>. Here the following fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IPureASTGenerator.html">IPureASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
</ul>
<p>Through a database connection:</p>
<ul>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IPureASTGenerator.html">IPureASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
<li>Information from page 3 are needed</li>
</ul>
<p>If you choose to go with the option "Without DB" the following
fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IPureASTGenerator.html">IPureASTGenerator</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
</ul>
<h4>JETemplate generation with AST improvement</h4>
<p><a href="pic/jetastgeneration_page2.png">Screenshot:</a> As seen in
the <a href="jetemplateASTGeneration.html">walkthrough</a> There are
to ways for generating code for a database table:<br>
Through an <a href="inputfile.html">input file</a>. Here the following fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGeneratorInitializer.html">IASTGeneratorInizializer</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
</ul>
<p>Through a database connection:</p>
<ul>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGeneratorInitializer.html">IASTGeneratorInizializer</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
<li>DB product must be specified (NONE is not valid)</li>
<li>Information from page 3 are needed</li>
</ul>
<p>If you choose to go with the option "Without DB" the following
fields are needed:</p>
<ul>
<li>Data Input must be a valid file.</li>
<li>Jet template may be provided as a valid file or a selection
from the drop down</li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGenerator.html">IASTGenerator</a></li>
<li>Supply a generator class that implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IASTGeneratorInitializer.html">IASTGeneratorInizializer</a></li>
<li>If the generator class implements the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/IReferenceImpleCaller.html">IReferenceImpleCaller</a>
a reference implementation must be supplied.</li>
<li>If a reference implementation is needed the class must
implement the interface <a href="../reference/doc/ch/sahits/codegen/java/generator/ast/IReferenceImplementation.html">IReferenceImplementation</a></li>
</ul>
<h3>Database access</h3>
<ul>
<li>This wizard page is optional unless the database
model is generated through a database connection or the generator class
is needed and it implements the interface <a href="../reference/doc/ch/sahits/codegen/generator/IDBAccess.html">IDBAccess</a></li>
<li>DB name may not be null or empty</li>
<li>DB host may not be null or empty</li>
<li>DB port may not be null or empty</li>
<li>DB user may not be null or empty</li>
<li>DB password may not be null or empty</li>
<li>DB table may not be null or empty if the database
model is generated through a database connection</li>
<li>DB schema may be null if and only if the database product does
not support the schema concept (e.g. MySQL)</li>
</ul>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.