1   package org.melati.admin.test;
2   
3   import org.melati.admin.test.generated.UploadedFileTableBase;
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>UploadedFileTable</code> object.
11   * <p>
12   * Description: 
13   *   A file uploaded by a user. 
14   * </p>
15   *
16   * 
17   * <table> 
18   * <tr><th colspan='3'>
19   * Field summary for SQL table <code>UploadedFile</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> filename </td><td> String </td><td> The name of the file, as 
24   * uploaded </td></tr> 
25   * <tr><td> path </td><td> String </td><td> The full path to this file on the 
26   * server </td></tr> 
27   * <tr><td> description </td><td> String </td><td> A description of the file 
28   * </td></tr> 
29   * <tr><td> size </td><td> String </td><td> The size of this file </td></tr> 
30   * <tr><td> when </td><td> Date </td><td> The date on which this file was 
31   * uploaded </td></tr> 
32   * <tr><td> uploadedby </td><td> User </td><td> The user who uploaded this 
33   * file </td></tr> 
34   * <tr><td> ownedby </td><td> User </td><td> The account to which this file 
35   * belongs </td></tr> 
36   * <tr><td> deleted </td><td> Boolean </td><td> Whether this file been 
37   * deleted or not </td></tr> 
38   * </table> 
39   * 
40   * @generator  org.melati.poem.prepro.TableDef#generateTableJava 
41   */
42  public class UploadedFileTable extends UploadedFileTableBase {
43  
44   /**
45    * Constructor.
46    * 
47    * @generator org.melati.poem.prepro.TableDef#generateTableJava 
48    * @param database          the POEM database we are using
49    * @param name              the name of this <code>Table</code>
50    * @param definitionSource  which definition is being used
51    * @throws PoemException    if anything goes wrong
52    */
53    public UploadedFileTable(
54        Database database, String name,
55        DefinitionSource definitionSource) throws PoemException {
56      super(database, name, definitionSource);
57    }
58  
59    // programmer's domain-specific code here
60  }
61