1 package org.melati.example.odmg;
2
3 import org.melati.example.odmg.generated.ChildTableBase;
4 import org.melati.poem.DefinitionSource;
5 import org.melati.poem.Database;
6 import org.melati.poem.PoemException;
7
8 /**
9 * Melati POEM generated, programmer modifiable stub
10 * for a <code>ChildTable</code> object.
11 *
12 *
13 * <table>
14 * <tr><th colspan='3'>
15 * Field summary for SQL table <code>Child</code>
16 * </th></tr>
17 * <tr><th>Name</th><th>Type</th><th>Description</th></tr>
18 * <tr><td> id </td><td> Integer </td><td> </td></tr>
19 * <tr><td> name </td><td> String </td><td> </td></tr>
20 * <tr><td> parent </td><td> Parent </td><td> </td></tr>
21 * </table>
22 *
23 * @generator org.melati.poem.prepro.TableDef#generateTableMainJava
24 */
25 public class ChildTable extends ChildTableBase {
26
27 /**
28 * Constructor.
29 *
30 * @generator org.melati.poem.prepro.TableDef#generateTableMainJava
31 * @param database the POEM database we are using
32 * @param name the name of this <code>Table</code>
33 * @param definitionSource which definition is being used
34 * @throws PoemException if anything goes wrong
35 */
36 public ChildTable(
37 Database database, String name,
38 DefinitionSource definitionSource) throws PoemException {
39 super(database, name, definitionSource);
40 }
41
42 // programmer's domain-specific code here
43 }