View Javadoc
1   // Delete this line to prevent overwriting of this file
2   
3   package org.melati.admin.test;
4   
5   
6   import org.melati.admin.test.generated.UserTableBase;
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>UserTable</code> object.
14   * <p>
15   * Description: 
16   *   An emailed User. 
17   * </p>
18   *
19   * 
20   * <table> 
21   * <caption>
22   * Field summary for SQL table <code>User</code>
23   * </caption>
24   * <tr><th>Name</th><th>Type</th><th>Description</th></tr>
25   * <tr><td> email </td><td> String </td><td> The user's email address 
26   * </td></tr> 
27   * </table> 
28   * 
29   * See org.melati.poem.prepro.TableDef#generateTableJava 
30   */
31  public class UserTable<T extends User> extends UserTableBase<User> {
32  
33   /**
34    * Constructor.
35    * 
36    * See org.melati.poem.prepro.TableDef#generateTableJava 
37    * @param database          the POEM database we are using
38    * @param name              the name of this <code>Table</code>
39    * @param definitionSource  which definition is being used
40    * @throws PoemException    if anything goes wrong
41    */
42    public UserTable(
43        Database database, String name,
44        DefinitionSource definitionSource) throws PoemException {
45      super(database, name, definitionSource);
46    }
47  
48    // programmer's domain-specific code here
49  }
50