1   package org.melati.util.test;
2   
3   import org.melati.util.test.generated.NodeTableBase;
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>NodeTable</code> object.
11   * <p>
12   * Description: 
13   *   A Tree Node. 
14   * </p>
15   *
16   * 
17   * <table> 
18   * <tr><th colspan='3'>
19   * Field summary for SQL table <code>Node</code>
20   * </th></tr>
21   * <tr><th>Name</th><th>Type</th><th>Description</th></tr>
22   * <tr><td> id </td><td> Integer </td><td> &nbsp; </td></tr> 
23   * <tr><td> name </td><td> String </td><td> Contact Name </td></tr> 
24   * <tr><td> parent </td><td> Node </td><td> Parent of this Node </td></tr> 
25   * </table> 
26   * 
27   * @generator  org.melati.poem.prepro.TableDef#generateTableMainJava 
28   */
29  public class NodeTable extends NodeTableBase {
30  
31   /**
32    * Constructor.
33    * 
34    * @generator org.melati.poem.prepro.TableDef#generateTableMainJava 
35    * @param database          the POEM database we are using
36    * @param name              the name of this <code>Table</code>
37    * @param definitionSource  which definition is being used
38    * @throws PoemException    if anything goes wrong
39    */
40    public NodeTable(
41        Database database, String name,
42        DefinitionSource definitionSource) throws PoemException {
43      super(database, name, definitionSource);
44    }
45  
46    // programmer's domain-specific code here
47  }
48