| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ProductAssociationTable |
|
| 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.ProductAssociationTableBase; | |
| 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>ProductAssociationTable</code> object. | |
| 14 | * <p> | |
| 15 | * Description: | |
| 16 | * Book and/or Author associated with a product. | |
| 17 | * </p> | |
| 18 | * | |
| 19 | * | |
| 20 | * <table> | |
| 21 | * <tr><th colspan='3'> | |
| 22 | * Field summary for SQL table <code>ProductAssociation</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> product </td><td> Product </td><td> The related shop item | |
| 27 | * </td></tr> | |
| 28 | * <tr><td> book </td><td> Book </td><td> The book this product is related to | |
| 29 | * </td></tr> | |
| 30 | * <tr><td> author </td><td> Author </td><td> The author this product is | |
| 31 | * related to </td></tr> | |
| 32 | * </table> | |
| 33 | * | |
| 34 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
| 35 | */ | |
| 36 | public class ProductAssociationTable<T extends ProductAssociation> extends ProductAssociationTableBase<ProductAssociation> { | |
| 37 | ||
| 38 | /** | |
| 39 | * Constructor. | |
| 40 | * | |
| 41 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
| 42 | * @param database the POEM database we are using | |
| 43 | * @param name the name of this <code>Table</code> | |
| 44 | * @param definitionSource which definition is being used | |
| 45 | * @throws PoemException if anything goes wrong | |
| 46 | */ | |
| 47 | public ProductAssociationTable( | |
| 48 | Database database, String name, | |
| 49 | DefinitionSource definitionSource) throws PoemException { | |
| 50 | 2 | super(database, name, definitionSource); |
| 51 | 2 | } |
| 52 | ||
| 53 | // programmer's domain-specific code here | |
| 54 | } | |
| 55 |