View Javadoc

1   package org.melati.example.odmg;
2   
3   import org.melati.poem.Database;
4   import org.melati.poem.DefinitionSource;
5   import org.melati.poem.JdbcTable;
6   import org.melati.poem.PoemException;
7   
8   /**
9    * Melati POEM generated, programmer modifyable inheritance hook.
10   */
11  public class OdmgTable extends JdbcTable {
12  
13   /**
14    * Constructor. 
15    * 
16    * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
17    * @param database          the POEM database we are using
18    * @param name              the name of this <code>Table</code>
19    * @param definitionSource  which definition is being used
20    * @throws PoemException    if anything goes wrong
21    */
22  
23    public OdmgTable(
24        Database database, String name,
25        DefinitionSource definitionSource) throws PoemException {
26      super(database, name, definitionSource);
27    }
28  
29  
30   /**
31    * Constructor.
32    *
33    * @generator org.melati.poem.prepro.TableDef#generateTableBaseJava 
34    * @param database          the POEM database we are using
35    * @param name              the name of this <code>Table</code>
36    * @throws PoemException    if anything goes wrong
37    */
38    public OdmgTable(
39        Database database, String name) throws PoemException {
40      this(database, name, DefinitionSource.dsd);
41    }
42  
43    // programmer's domain-specific code here
44  }
45  
46  
47  
48