<!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>