Menu

[r2016]: / trunk / ch.sahits.codegen.help / html / context / reference_impl.htm  Maximize  Restore  History

Download this file

19 lines (19 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Reference Implementation</title>
</head>
<body>
<h1>Reference Implementation</h1>
<p>When you have to generate a lot of classes that conform to the same pattern without the use
of this wizard you will do a lot of copy/paste. The Reference Implementation is the same thing:
You define a class that is your reference/template class from which you copy. This class is supplied
with annotated methods and helper methods that can supply the correct values based on you input
data model. A reference implementation is only needed to add functionality to your class, the rump
of your class must be generated some other way. Furthermore since the coping uses AST you must check
the AST check box and supply a generator class that references your reference implementation.</p>
<p>For details on how to set up a reference implementation please consult the <a href="http://www.sahits.ch/project/javacodegen/">project page</a>.</p>
</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.