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