Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DeliveryChargeTable |
|
| 1.0;1 |
1 | // Delete this line to prevent overwriting of this file | |
2 | ||
3 | package org.paneris.bibliomania; | |
4 | ||
5 | ||
6 | import org.paneris.bibliomania.generated.DeliveryChargeTableBase; | |
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>DeliveryChargeTable</code> object. | |
14 | * <p> | |
15 | * Description: | |
16 | * A delivery charge. | |
17 | * </p> | |
18 | * | |
19 | * | |
20 | * <table> | |
21 | * <tr><th colspan='3'> | |
22 | * Field summary for SQL table <code>DeliveryCharge</code> | |
23 | * </th></tr> | |
24 | * <tr><th>Name</th><th>Type</th><th>Description</th></tr> | |
25 | * <tr><td> id </td><td> Integer </td><td> </td></tr> | |
26 | * <tr><td> band </td><td> DeliveryChargeBand </td><td> The name of area for | |
27 | * this delivery charge </td></tr> | |
28 | * <tr><td> supplier </td><td> Supplier </td><td> The supplier for which | |
29 | * these charges apply </td></tr> | |
30 | * <tr><td> charge </td><td> Double </td><td> The cost for delivering each | |
31 | * book to a coutry in this band </td></tr> | |
32 | * <tr><td> ordercharge </td><td> Double </td><td> The cost for delivering | |
33 | * the order (added to the per item charge) </td></tr> | |
34 | * </table> | |
35 | * | |
36 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
37 | */ | |
38 | public class DeliveryChargeTable<T extends DeliveryCharge> extends DeliveryChargeTableBase<DeliveryCharge> { | |
39 | ||
40 | /** | |
41 | * Constructor. | |
42 | * | |
43 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
44 | * @param database the POEM database we are using | |
45 | * @param name the name of this <code>Table</code> | |
46 | * @param definitionSource which definition is being used | |
47 | * @throws PoemException if anything goes wrong | |
48 | */ | |
49 | public DeliveryChargeTable( | |
50 | Database database, String name, | |
51 | DefinitionSource definitionSource) throws PoemException { | |
52 | 2 | super(database, name, definitionSource); |
53 | 2 | } |
54 | ||
55 | // programmer's domain-specific code here | |
56 | } | |
57 |