| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BookStockingTable |
|
| 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.BookStockingTableBase; | |
| 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>BookStockingTable</code> object. | |
| 14 | * <p> | |
| 15 | * Description: | |
| 16 | * A record that an online bookshop stocks a particular book. | |
| 17 | * </p> | |
| 18 | * | |
| 19 | * | |
| 20 | * <table> | |
| 21 | * <tr><th colspan='3'> | |
| 22 | * Field summary for SQL table <code>BookStocking</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> shop </td><td> Bookshop </td><td> The bookshop </td></tr> | |
| 27 | * <tr><td> book </td><td> Book </td><td> The Bibliomania book corresponding | |
| 28 | * to the stocked book, as far as can be determined </td></tr> | |
| 29 | * <tr><td> title </td><td> String </td><td> The bookshop's title for the | |
| 30 | * book </td></tr> | |
| 31 | * <tr><td> author </td><td> String </td><td> The bookshop's author name for | |
| 32 | * the book </td></tr> | |
| 33 | * <tr><td> vendorproductid </td><td> String </td><td> The bookshop's | |
| 34 | * internal product ID for the book </td></tr> | |
| 35 | * <tr><td> isbn </td><td> String </td><td> The ISBN for the book </td></tr> | |
| 36 | * <tr><td> deliveryinfo </td><td> String </td><td> The bookshop's delivery | |
| 37 | * time claim for the book </td></tr> | |
| 38 | * <tr><td> price </td><td> String </td><td> The bookshop's price description | |
| 39 | * for the book </td></tr> | |
| 40 | * <tr><td> pricenumber </td><td> Integer </td><td> A numeric version of the | |
| 41 | * price, if can be calculated ... </td></tr> | |
| 42 | * <tr><td> format </td><td> String </td><td> The bookshop's format | |
| 43 | * description for the book </td></tr> | |
| 44 | * <tr><td> formatcode </td><td> BookFormat </td><td> A code representing the | |
| 45 | * book's format in a consistent way, as far as it can be determined | |
| 46 | * </td></tr> | |
| 47 | * <tr><td> publisher </td><td> String </td><td> The bookshop's publisher | |
| 48 | * description for the book </td></tr> | |
| 49 | * <tr><td> publicationyear </td><td> String </td><td> The bookshop's | |
| 50 | * publication year description for the book </td></tr> | |
| 51 | * <tr><td> detailurl </td><td> String </td><td> A scratchpad for storing | |
| 52 | * info about the book's home page on the bookshop (or, unused) </td></tr> | |
| 53 | * <tr><td> thumbnailurl </td><td> String </td><td> An URL for the book's | |
| 54 | * cover page image on the bookshop </td></tr> | |
| 55 | * </table> | |
| 56 | * | |
| 57 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
| 58 | */ | |
| 59 | public class BookStockingTable<T extends BookStocking> extends BookStockingTableBase<BookStocking> { | |
| 60 | ||
| 61 | /** | |
| 62 | * Constructor. | |
| 63 | * | |
| 64 | * see org.melati.poem.prepro.TableDef#generateTableJava | |
| 65 | * @param database the POEM database we are using | |
| 66 | * @param name the name of this <code>Table</code> | |
| 67 | * @param definitionSource which definition is being used | |
| 68 | * @throws PoemException if anything goes wrong | |
| 69 | */ | |
| 70 | public BookStockingTable( | |
| 71 | Database database, String name, | |
| 72 | DefinitionSource definitionSource) throws PoemException { | |
| 73 | 2 | super(database, name, definitionSource); |
| 74 | 2 | } |
| 75 | ||
| 76 | // programmer's domain-specific code here | |
| 77 | } | |
| 78 |