1 package org.paneris.rimauresq.model; 2 3 import org.paneris.rimauresq.model.generated.ProductTableBase; 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>ProductTable</code> object. 11 * <p> 12 * Description: 13 * Rimauresq Products. 14 * </p> 15 * 16 * 17 * <table> 18 * <tr><th colspan='3'> 19 * Field summary for SQL table <code>Product</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> </td></tr> 23 * <tr><td> name </td><td> String </td><td> Product name </td></tr> 24 * <tr><td> description </td><td> String </td><td> Tasting note </td></tr> 25 * <tr><td> price </td><td> BigDecimal </td><td> </td></tr> 26 * </table> 27 * 28 * @generator org.melati.poem.prepro.TableDef#generateTableJava 29 */ 30 public class ProductTable extends ProductTableBase { 31 32 /** 33 * Constructor. 34 * 35 * @generator org.melati.poem.prepro.TableDef#generateTableJava 36 * @param database the POEM database we are using 37 * @param name the name of this <code>Table</code> 38 * @param definitionSource which definition is being used 39 * @throws PoemException if anything goes wrong 40 */ 41 public ProductTable( 42 Database database, String name, 43 DefinitionSource definitionSource) throws PoemException { 44 super(database, name, definitionSource); 45 } 46 47 // programmer's domain-specific code here 48 } 49