1   package org.melati.admin.test;
2   
3   import org.melati.admin.test.generated.UserTableBase;
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>UserTable</code> object.
11   * <p>
12   * Description: 
13   *   An emailed User. 
14   * </p>
15   *
16   * 
17   * <table> 
18   * <tr><th colspan='3'>
19   * Field summary for SQL table <code>User</code>
20   * </th></tr>
21   * <tr><th>Name</th><th>Type</th><th>Description</th></tr>
22   * <tr><td> email </td><td> String </td><td> The user's email address 
23   * </td></tr> 
24   * </table> 
25   * 
26   * @generator  org.melati.poem.prepro.TableDef#generateTableJava 
27   */
28  public class UserTable extends UserTableBase {
29  
30   /**
31    * Constructor.
32    * 
33    * @generator 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 UserTable(
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