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.UploadedImageTableBase;
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>UploadedImageTable</code> object.
14 * <p>
15 * Description:
16 * An image uploaded by a user.
17 * </p>
18 *
19 *
20 * <table>
21 * <caption>
22 * Field summary for SQL table <code>UploadedImage</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> filename </td><td> String </td><td> The path name of the file,
27 * relative to the server root </td></tr>
28 * </table>
29 *
30 * See org.melati.poem.prepro.TableDef#generateTableJava
31 */
32 public class UploadedImageTable<T extends UploadedImage> extends UploadedImageTableBase<UploadedImage> {
33
34 /**
35 * Constructor.
36 *
37 * See org.melati.poem.prepro.TableDef#generateTableJava
38 * @param database the POEM database we are using
39 * @param name the name of this <code>Table</code>
40 * @param definitionSource which definition is being used
41 * @throws PoemException if anything goes wrong
42 */
43 public UploadedImageTable(
44 Database database, String name,
45 DefinitionSource definitionSource) throws PoemException {
46 super(database, name, definitionSource);
47 }
48
49 // programmer's domain-specific code here
50 }
51