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.PublisherTableBase;
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>PublisherTable</code> object.
14   * <p>
15   * Description: 
16   *   Product Publisher. 
17   * </p>
18   *
19   * 
20   * <table> 
21   * <tr><th colspan='3'>
22   * Field summary for SQL table <code>Publisher</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 Publisher 
27   * </td></tr> 
28   * <tr><td> address </td><td> String </td><td> A postal address for the 
29   * Publisher </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 contact 
33   * this Publisher </td></tr> 
34   * <tr><td> website </td><td> String </td><td> The website for this 
35   * Publisher, if they have one </td></tr> 
36   * </table> 
37   * 
38   * see  org.melati.poem.prepro.TableDef#generateTableJava 
39   */
40  public class PublisherTable<T extends Publisher> extends PublisherTableBase<Publisher> {
41  
42   /**
43    * Constructor.
44    * 
45    * see org.melati.poem.prepro.TableDef#generateTableJava 
46    * @param database          the POEM database we are using
47    * @param name              the name of this <code>Table</code>
48    * @param definitionSource  which definition is being used
49    * @throws PoemException    if anything goes wrong
50    */
51    public PublisherTable(
52        Database database, String name,
53        DefinitionSource definitionSource) throws PoemException {
54      super(database, name, definitionSource);
55    }
56  
57    // programmer's domain-specific code here
58  }
59