org.paneris.jammyjoes.model.generated
Class ProductTableBase

java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.paneris.jammyjoes.model.JammyjoesTable
          extended by org.paneris.jammyjoes.model.generated.ProductTableBase
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
ProductTable

public class ProductTableBase
extends JammyjoesTable

Melati POEM generated base class for Table Product.


Constructor Summary
ProductTableBase(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  org.melati.poem.JdbcPersistent _newPersistent()
           
protected  java.lang.Integer defaultCacheLimit()
           
protected  java.lang.String defaultCategory()
           
protected  java.lang.String defaultDescription()
           
protected  java.lang.String defaultDisplayName()
           
protected  int defaultDisplayOrder()
           
protected  boolean defaultRememberAllTroids()
           
 org.melati.poem.Column getAwardColumn()
          Retrieves the Award Column for this Product Table.
 org.melati.poem.Column getCatalogueColumn()
          Retrieves the Catalogue Column for this Product Table.
 org.melati.poem.Column getCostpriceColumn()
          Retrieves the Costprice Column for this Product Table.
 org.melati.poem.Column getDeletedColumn()
          Retrieves the Deleted Column for this Product Table.
 org.melati.poem.Column getDeliverycostColumn()
          Retrieves the Deliverycost Column for this Product Table.
 org.melati.poem.Column getDepthColumn()
          Retrieves the Depth Column for this Product Table.
 org.melati.poem.Column getDescriptionColumn()
          Retrieves the Description Column for this Product Table.
 org.melati.poem.Column getHeightColumn()
          Retrieves the Height Column for this Product Table.
 org.melati.poem.Column getIdColumn()
          Retrieves the Id Column for this Product Table.
 JammyjoesDatabaseTables getJammyjoesDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getLeadtimeColumn()
          Retrieves the Leadtime Column for this Product Table.
 org.melati.poem.Column getManufacturerColumn()
          Retrieves the Manufacturer Column for this Product Table.
 org.melati.poem.Column getMarginColumn()
          Retrieves the Margin Column for this Product Table.
 org.melati.poem.Column getMarginpercentColumn()
          Retrieves the Marginpercent Column for this Product Table.
 org.melati.poem.Column getMarkuppercentColumn()
          Retrieves the Markuppercent Column for this Product Table.
 org.melati.poem.Column getMaxageColumn()
          Retrieves the Maxage Column for this Product Table.
 org.melati.poem.Column getMinageColumn()
          Retrieves the Minage Column for this Product Table.
 org.melati.poem.Column getMinimumorderColumn()
          Retrieves the Minimumorder Column for this Product Table.
 org.melati.poem.Column getNameColumn()
          Retrieves the Name Column for this Product Table.
 org.melati.poem.Column getOnorderquantityColumn()
          Retrieves the Onorderquantity Column for this Product Table.
 org.melati.poem.Column getPicture2Column()
          Retrieves the Picture2 Column for this Product Table.
 org.melati.poem.Column getPictureColumn()
          Retrieves the Picture Column for this Product Table.
 org.melati.poem.Column getPiecesColumn()
          Retrieves the Pieces Column for this Product Table.
 Product getProductObject(int troid)
          Retrieve the Product as a Product.
 Product getProductObject(java.lang.Integer troid)
          Retrieve the Product as a Product.
 org.melati.poem.Column getReorderlevelColumn()
          Retrieves the Reorderlevel Column for this Product Table.
 org.melati.poem.Column getReorderquantityColumn()
          Retrieves the Reorderquantity Column for this Product Table.
 org.melati.poem.Column getRetailpriceColumn()
          Retrieves the Retailprice Column for this Product Table.
 org.melati.poem.Column getRetailpriceincvatColumn()
          Retrieves the Retailpriceincvat Column for this Product Table.
 org.melati.poem.Column getSalepriceColumn()
          Retrieves the Saleprice Column for this Product Table.
 org.melati.poem.Column getSexColumn()
          Retrieves the Sex Column for this Product Table.
 org.melati.poem.Column getStatusColumn()
          Retrieves the Status Column for this Product Table.
 org.melati.poem.Column getStocklevelColumn()
          Retrieves the Stocklevel Column for this Product Table.
 org.melati.poem.Column getSuppliercodeColumn()
          Retrieves the Suppliercode Column for this Product Table.
 org.melati.poem.Column getSupplierColumn()
          Retrieves the Supplier Column for this Product Table.
 org.melati.poem.Column getType2Column()
          Retrieves the Type2 Column for this Product Table.
 org.melati.poem.Column getTypeColumn()
          Retrieves the Type Column for this Product Table.
 org.melati.poem.Column getVatexemptColumn()
          Retrieves the Vatexempt Column for this Product Table.
 org.melati.poem.Column getWeightColumn()
          Retrieves the Weight Column for this Product Table.
 org.melati.poem.Column getWidthColumn()
          Retrieves the Width Column for this Product Table.
 void init()
           
 
Methods inherited from class org.melati.poem.JdbcTable
_getColumn, addColumnAndCommit, addListener, appendWhereClause, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedExists, cachedSelection, cachedSelectionField, cachedSelectionType, canDeleteColumn, canReadColumn, canSelectColumn, canWriteColumn, clearColumnInfoCaches, cnfWhereClause, cnfWhereClause, columns, columnWithColumnInfoID, count, count, count, count, countSQL, countSQL, create, create, createTableInfo, dbAddConstraints, dbModifyStructure, defaultOrderByClause, defineColumn, delete_unsafe, delete, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, extrasCount, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumnsCount, getDatabase, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getDsdName, getInfo, getMostRecentTroid, getName, getNextExtrasIndex, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, load, newPersistent, notifyColumnInfo, notifyTouched, postInitialise, primaryCriterionColumn, quotedName, readLock, referencesTo, referencesTo, rememberAllTroids, selection, selection, selection, selection, selection, selection, selection, selection, selectionSQL, serial, setCacheLimit, setDisplayColumn, setSearchColumn, setTableInfo, tableInfoID, toString, trimCache, troidColumn, troidFor, troidSelection, troidSelection, troidSelection, uncache, unifyWithColumnInfo, unifyWithDB, whereClause, whereClause, writeDown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductTableBase

public ProductTableBase(org.melati.poem.Database database,
                        java.lang.String name,
                        org.melati.poem.DefinitionSource definitionSource)
                 throws org.melati.poem.PoemException
Constructor.

Parameters:
database - the POEM database we are using
name - the name of this Table
definitionSource - which definition is being used
Throws:
org.melati.poem.PoemException - if anything goes wrong
Method Detail

getJammyjoesDatabaseTables

public JammyjoesDatabaseTables getJammyjoesDatabaseTables()
Get the database tables.

Returns:
the database tables

init

public void init()
          throws org.melati.poem.PoemException
Specified by:
init in interface org.melati.poem.Table
Overrides:
init in class org.melati.poem.JdbcTable
Throws:
org.melati.poem.PoemException

getIdColumn

public final org.melati.poem.Column getIdColumn()
Retrieves the Id Column for this Product Table.

Returns:
the id Column

getNameColumn

public final org.melati.poem.Column getNameColumn()
Retrieves the Name Column for this Product Table.

Returns:
the name Column

getStatusColumn

public final org.melati.poem.Column getStatusColumn()
Retrieves the Status Column for this Product Table.

Returns:
the status Column

getTypeColumn

public final org.melati.poem.Column getTypeColumn()
Retrieves the Type Column for this Product Table.

Returns:
the type Column

getType2Column

public final org.melati.poem.Column getType2Column()
Retrieves the Type2 Column for this Product Table.

Returns:
the type2 Column

getSexColumn

public final org.melati.poem.Column getSexColumn()
Retrieves the Sex Column for this Product Table.

Returns:
the sex Column

getDescriptionColumn

public final org.melati.poem.Column getDescriptionColumn()
Retrieves the Description Column for this Product Table.

Returns:
the description Column

getSupplierColumn

public final org.melati.poem.Column getSupplierColumn()
Retrieves the Supplier Column for this Product Table.

Returns:
the supplier Column

getManufacturerColumn

public final org.melati.poem.Column getManufacturerColumn()
Retrieves the Manufacturer Column for this Product Table.

Returns:
the manufacturer Column

getSuppliercodeColumn

public final org.melati.poem.Column getSuppliercodeColumn()
Retrieves the Suppliercode Column for this Product Table.

Returns:
the suppliercode Column

getCostpriceColumn

public final org.melati.poem.Column getCostpriceColumn()
Retrieves the Costprice Column for this Product Table.

Returns:
the costprice Column

getRetailpriceincvatColumn

public final org.melati.poem.Column getRetailpriceincvatColumn()
Retrieves the Retailpriceincvat Column for this Product Table.

Returns:
the retailpriceincvat Column

getVatexemptColumn

public final org.melati.poem.Column getVatexemptColumn()
Retrieves the Vatexempt Column for this Product Table.

Returns:
the vatexempt Column

getSalepriceColumn

public final org.melati.poem.Column getSalepriceColumn()
Retrieves the Saleprice Column for this Product Table.

Returns:
the saleprice Column

getRetailpriceColumn

public final org.melati.poem.Column getRetailpriceColumn()
Retrieves the Retailprice Column for this Product Table.

Returns:
the retailprice Column

getMarginColumn

public final org.melati.poem.Column getMarginColumn()
Retrieves the Margin Column for this Product Table.

Returns:
the margin Column

getMarginpercentColumn

public final org.melati.poem.Column getMarginpercentColumn()
Retrieves the Marginpercent Column for this Product Table.

Returns:
the marginpercent Column

getMarkuppercentColumn

public final org.melati.poem.Column getMarkuppercentColumn()
Retrieves the Markuppercent Column for this Product Table.

Returns:
the markuppercent Column

getDeliverycostColumn

public final org.melati.poem.Column getDeliverycostColumn()
Retrieves the Deliverycost Column for this Product Table.

Returns:
the deliverycost Column

getMinageColumn

public final org.melati.poem.Column getMinageColumn()
Retrieves the Minage Column for this Product Table.

Returns:
the minage Column

getMaxageColumn

public final org.melati.poem.Column getMaxageColumn()
Retrieves the Maxage Column for this Product Table.

Returns:
the maxage Column

getPiecesColumn

public final org.melati.poem.Column getPiecesColumn()
Retrieves the Pieces Column for this Product Table.

Returns:
the pieces Column

getStocklevelColumn

public final org.melati.poem.Column getStocklevelColumn()
Retrieves the Stocklevel Column for this Product Table.

Returns:
the stocklevel Column

getReorderlevelColumn

public final org.melati.poem.Column getReorderlevelColumn()
Retrieves the Reorderlevel Column for this Product Table.

Returns:
the reorderlevel Column

getReorderquantityColumn

public final org.melati.poem.Column getReorderquantityColumn()
Retrieves the Reorderquantity Column for this Product Table.

Returns:
the reorderquantity Column

getMinimumorderColumn

public final org.melati.poem.Column getMinimumorderColumn()
Retrieves the Minimumorder Column for this Product Table.

Returns:
the minimumorder Column

getLeadtimeColumn

public final org.melati.poem.Column getLeadtimeColumn()
Retrieves the Leadtime Column for this Product Table.

Returns:
the leadtime Column

getWeightColumn

public final org.melati.poem.Column getWeightColumn()
Retrieves the Weight Column for this Product Table.

Returns:
the weight Column

getWidthColumn

public final org.melati.poem.Column getWidthColumn()
Retrieves the Width Column for this Product Table.

Returns:
the width Column

getHeightColumn

public final org.melati.poem.Column getHeightColumn()
Retrieves the Height Column for this Product Table.

Returns:
the height Column

getDepthColumn

public final org.melati.poem.Column getDepthColumn()
Retrieves the Depth Column for this Product Table.

Returns:
the depth Column

getPictureColumn

public final org.melati.poem.Column getPictureColumn()
Retrieves the Picture Column for this Product Table.

Returns:
the picture Column

getPicture2Column

public final org.melati.poem.Column getPicture2Column()
Retrieves the Picture2 Column for this Product Table.

Returns:
the picture2 Column

getCatalogueColumn

public final org.melati.poem.Column getCatalogueColumn()
Retrieves the Catalogue Column for this Product Table.

Returns:
the catalogue Column

getDeletedColumn

public final org.melati.poem.Column getDeletedColumn()
Retrieves the Deleted Column for this Product Table.

Returns:
the deleted Column

getAwardColumn

public final org.melati.poem.Column getAwardColumn()
Retrieves the Award Column for this Product Table.

Returns:
the award Column

getOnorderquantityColumn

public final org.melati.poem.Column getOnorderquantityColumn()
Retrieves the Onorderquantity Column for this Product Table.

Returns:
the onorderquantity Column

getProductObject

public Product getProductObject(java.lang.Integer troid)
Retrieve the Product as a Product.

Parameters:
troid - a Table Row Oject ID
Returns:
the Persistent identified by the troid

getProductObject

public Product getProductObject(int troid)
Retrieve the Product as a Product.

Parameters:
troid - a Table Row Object ID
Returns:
the Persistent identified

_newPersistent

protected org.melati.poem.JdbcPersistent _newPersistent()
Overrides:
_newPersistent in class org.melati.poem.JdbcTable

defaultDisplayName

protected java.lang.String defaultDisplayName()
Overrides:
defaultDisplayName in class org.melati.poem.JdbcTable

defaultDescription

protected java.lang.String defaultDescription()
Overrides:
defaultDescription in class org.melati.poem.JdbcTable

defaultRememberAllTroids

protected boolean defaultRememberAllTroids()
Overrides:
defaultRememberAllTroids in class org.melati.poem.JdbcTable

defaultCacheLimit

protected java.lang.Integer defaultCacheLimit()
Overrides:
defaultCacheLimit in class org.melati.poem.JdbcTable

defaultCategory

protected java.lang.String defaultCategory()
Overrides:
defaultCategory in class org.melati.poem.JdbcTable

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class org.melati.poem.JdbcTable


Copyright © 2001-2008 PanEris. All Rights Reserved.