Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DownloadEventTable |
|
| 1.0;1 |
1 | // Delete this line to prevent overwriting of this file | |
2 | ||
3 | package org.paneris.bibliomania; | |
4 | ||
5 | ||
6 | import org.paneris.bibliomania.generated.DownloadEventTableBase; | |
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>DownloadEventTable</code> object. | |
14 | * <p> | |
15 | * Description: | |
16 | * Download Event. | |
17 | * </p> | |
18 | * | |
19 | * | |
20 | * <table> | |
21 | * <tr><th colspan='3'> | |
22 | * Field summary for SQL table <code>DownloadEvent</code> | |
23 | * </th></tr> | |
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> </td></tr> | |
27 | * <tr><td> document </td><td> Download </td><td> The name of the file | |
28 | * downloaded </td></tr> | |
29 | * <tr><td> date </td><td> Timestamp </td><td> The date and time the file was | |
30 | * downloaded </td></tr> | |
31 | * </table> | |
32 | * | |
33 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
34 | */ | |
35 | public class DownloadEventTable<T extends DownloadEvent> extends DownloadEventTableBase<DownloadEvent> { | |
36 | ||
37 | /** | |
38 | * Constructor. | |
39 | * | |
40 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
41 | * @param database the POEM database we are using | |
42 | * @param name the name of this <code>Table</code> | |
43 | * @param definitionSource which definition is being used | |
44 | * @throws PoemException if anything goes wrong | |
45 | */ | |
46 | public DownloadEventTable( | |
47 | Database database, String name, | |
48 | DefinitionSource definitionSource) throws PoemException { | |
49 | 2 | super(database, name, definitionSource); |
50 | 2 | } |
51 | ||
52 | // programmer's domain-specific code here | |
53 | } | |
54 |