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