View Javadoc

1   package org.paneris.jammyjoes.model;
2   
3   import org.paneris.jammyjoes.model.generated.AffiliateTransactionTableBase;
4   import org.melati.poem.DefinitionSource;
5   import org.melati.poem.Database;
6   import org.melati.poem.PoemException;
7   
8   /**
9    * Melati POEM generated, programmer modifiable stub 
10   * for a <code>AffiliateTransactionTable</code> object.
11   * <p>
12   * Description: 
13   *   A 'hit' for this affiliate. 
14   * </p>
15   *
16   * 
17   * <table> 
18   * <tr><th colspan='3'>
19   * Field summary for SQL table <code>AffiliateTransaction</code>
20   * </th></tr>
21   * <tr><th>Name</th><th>Type</th><th>Description</th></tr>
22   * <tr><td> id </td><td> Integer </td><td> &nbsp; </td></tr> 
23   * <tr><td> affiliate </td><td> Affiliate </td><td> The Affiliate that 
24   * generated this hit </td></tr> 
25   * <tr><td> hit </td><td> Timestamp </td><td> The date when this hit came in 
26   * </td></tr> 
27   * <tr><td> referrerURL </td><td> String </td><td> The Referring URL 
28   * </td></tr> 
29   * <tr><td> landingPage </td><td> String </td><td> The Landing Page 
30   * </td></tr> 
31   * <tr><td> userIpAddress </td><td> String </td><td> The User's IP Address 
32   * </td></tr> 
33   * </table> 
34   * 
35   * @generator  org.melati.poem.prepro.TableDef#generateTableMainJava 
36   */
37  public class AffiliateTransactionTable extends AffiliateTransactionTableBase {
38  
39   /**
40    * Constructor.
41    * 
42    * @generator org.melati.poem.prepro.TableDef#generateTableMainJava 
43    * @param database          the POEM database we are using
44    * @param name              the name of this <code>Table</code>
45    * @param definitionSource  which definition is being used
46    * @throws PoemException    if anything goes wrong
47    */
48    public AffiliateTransactionTable(
49        Database database, String name,
50        DefinitionSource definitionSource) throws PoemException {
51      super(database, name, definitionSource);
52    }
53  
54    // programmer's domain-specific code here
55  }
56