1 // Delete this line to prevent overwriting of this file 2 3 package org.melati.example.odmg; 4 5 6 import org.melati.example.odmg.generated.ParentTableBase; 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>ParentTable</code> object. 14 * 15 * 16 * <table> 17 * <caption> 18 * Field summary for SQL table <code>Parent</code> 19 * </caption> 20 * <tr><th>Name</th><th>Type</th><th>Description</th></tr> 21 * <tr><td> id </td><td> Integer </td><td> </td></tr> 22 * <tr><td> name </td><td> String </td><td> </td></tr> 23 * </table> 24 * 25 * See org.melati.poem.prepro.TableDef#generateTableJava 26 */ 27 public class ParentTable<T extends Parent> extends ParentTableBase<Parent> { 28 29 /** 30 * Constructor. 31 * 32 * See org.melati.poem.prepro.TableDef#generateTableJava 33 * @param database the POEM database we are using 34 * @param name the name of this <code>Table</code> 35 * @param definitionSource which definition is being used 36 * @throws PoemException if anything goes wrong 37 */ 38 public ParentTable( 39 Database database, String name, 40 DefinitionSource definitionSource) throws PoemException { 41 super(database, name, definitionSource); 42 } 43 44 // programmer's domain-specific code here 45 } 46