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.SupplierTableBase;
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>SupplierTable</code> object.
14   * <p>
15   * Description: 
16   *   Product Supplier. 
17   * </p>
18   *
19   * 
20   * <table> 
21   * <tr><th colspan='3'>
22   * Field summary for SQL table <code>Supplier</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> name </td><td> String </td><td> The full name of the Supplier 
27   * </td></tr> 
28   * <tr><td> address </td><td> String </td><td> A postal address for the 
29   * Supplier </td></tr> 
30   * <tr><td> contact </td><td> String </td><td> The person who will deal with 
31   * queries </td></tr> 
32   * <tr><td> email </td><td> String </td><td> An email address used to submit 
33   * orders to this Supplier </td></tr> 
34   * <tr><td> website </td><td> String </td><td> The website for this supplier, 
35   * if they have one </td></tr> 
36   * <tr><td> location </td><td> String </td><td> The Location of this supplier 
37   * (eg London) </td></tr> 
38   * </table> 
39   * 
40   * see  org.melati.poem.prepro.TableDef#generateTableJava 
41   */
42  public class SupplierTable<T extends Supplier> extends SupplierTableBase<Supplier> {
43  
44   /**
45    * Constructor.
46    * 
47    * see 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 SupplierTable(
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