1 package org.paneris.melati.site.model; 2 3 import org.paneris.melati.site.model.generated.LinkTableBase; 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>LinkTable</code> object. 11 * <p> 12 * Description: 13 * A link. 14 * </p> 15 * 16 * 17 * <table> 18 * <tr><th colspan='3'> 19 * Field summary for SQL table <code>Link</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> page </td><td> Page </td><td> The page to which the link is 24 * relevant </td></tr> 25 * <tr><td> type </td><td> LinkType </td><td> The type of this link 26 * </td></tr> 27 * <tr><td> url </td><td> String </td><td> The full URL for the site's front 28 * page </td></tr> 29 * <tr><td> displayname </td><td> String </td><td> The site's name </td></tr> 30 * <tr><td> displayorder </td><td> Integer </td><td> </td></tr> 31 * </table> 32 * 33 * @see org.melati.poem.prepro.TableDef#generateTableJava 34 */ 35 public class LinkTable extends LinkTableBase { 36 37 /** 38 * Constructor. 39 * 40 * @see org.melati.poem.prepro.TableDef#generateTableJava 41 * @param database the POEM database we are using 42 * @param name the name of this <code>Table</code> 43 * @param definitionSource which definition is being used 44 * @throws PoemException if anything goes wrong 45 */ 46 public LinkTable( 47 Database database, String name, 48 DefinitionSource definitionSource) throws PoemException { 49 super(database, name, definitionSource); 50 } 51 52 // programmer's domain-specific code here 53 } 54