View Javadoc

1   // Delete this line to prevent overwriting of this file
2   
3   package org.paneris.bibliomania;
4   
5   
6   import org.paneris.bibliomania.generated.SupplierProductTableBase;
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>SupplierProductTable</code> object.
14   * <p>
15   * Description: 
16   *   A record that a product is supplied by the given supplier. 
17   * </p>
18   *
19   * 
20   * <table> 
21   * <tr><th colspan='3'>
22   * Field summary for SQL table <code>SupplierProduct</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> &nbsp; </td></tr> 
26   * <tr><td> supplier </td><td> Supplier </td><td> A supplier for this product 
27   * </td></tr> 
28   * <tr><td> product </td><td> Product </td><td> A product for this supplier 
29   * </td></tr> 
30   * </table> 
31   * 
32   * see  org.melati.poem.prepro.TableDef#generateTableJava 
33   */
34  public class SupplierProductTable<T extends SupplierProduct> extends SupplierProductTableBase<SupplierProduct> {
35  
36   /**
37    * Constructor.
38    * 
39    * see org.melati.poem.prepro.TableDef#generateTableJava 
40    * @param database          the POEM database we are using
41    * @param name              the name of this <code>Table</code>
42    * @param definitionSource  which definition is being used
43    * @throws PoemException    if anything goes wrong
44    */
45    public SupplierProductTable(
46        Database database, String name,
47        DefinitionSource definitionSource) throws PoemException {
48      super(database, name, definitionSource);
49    }
50  
51    // programmer's domain-specific code here
52  }
53