| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SexTable |
|
| 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.SexTableBase; | |
| 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>SexTable</code> object. | |
| 14 | * <p> | |
| 15 | * Description: | |
| 16 | * A sex of which a user can be. | |
| 17 | * </p> | |
| 18 | * | |
| 19 | * | |
| 20 | * <table> | |
| 21 | * <tr><th colspan='3'> | |
| 22 | * Field summary for SQL table <code>Sex</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> displayname </td><td> String </td><td> The sex's name </td></tr> | |
| 27 | * </table> | |
| 28 | * | |
| 29 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
| 30 | */ | |
| 31 | public class SexTable<T extends Sex> extends SexTableBase<Sex> { | |
| 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 SexTable( | |
| 43 | Database database, String name, | |
| 44 | DefinitionSource definitionSource) throws PoemException { | |
| 45 | 2 | super(database, name, definitionSource); |
| 46 | 2 | } |
| 47 | ||
| 48 | // programmer's domain-specific code here | |
| 49 | } | |
| 50 |