org.paneris.bibliomania.generated
Class ChapterTableBase

java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.paneris.bibliomania.BibliomaniaTable
          extended by org.paneris.bibliomania.generated.UnitTableBase
              extended by org.paneris.bibliomania.UnitTable
                  extended by org.paneris.bibliomania.generated.ChapterTableBase
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
ChapterTable

public class ChapterTableBase
extends UnitTable

Melati POEM generated base class for Table Chapter.

See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

Constructor Summary
ChapterTableBase(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.String defaultDescription()
           
protected  int defaultDisplayOrder()
           
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getBookColumn()
          Retrieves the Book Column for this Chapter Table.
 Chapter getChapterObject(int troid)
          Retrieve the Chapter as a Chapter.
 Chapter getChapterObject(java.lang.Integer troid)
          Retrieve the Chapter as a Chapter.
 org.melati.poem.Column getFilenameColumn()
          Retrieves the Filename Column for this Chapter Table.
 org.melati.poem.Column getIdColumn()
          Retrieves the Id Column for this Chapter Table.
 org.melati.poem.Column getIndexdateColumn()
          Retrieves the Indexdate Column for this Chapter Table.
 org.melati.poem.Column getLongtitleColumn()
          Retrieves the Longtitle Column for this Chapter Table.
 org.melati.poem.Column getPartColumn()
          Retrieves the Part Column for this Chapter Table.
 org.melati.poem.Column getSequenceColumn()
          Retrieves the Sequence Column for this Chapter Table.
 org.melati.poem.Column getTextidColumn()
          Retrieves the Textid Column for this Chapter Table.
 org.melati.poem.Column getTitleColumn()
          Retrieves the Title Column for this Chapter Table.
 void init()
           
 
Methods inherited from class org.paneris.bibliomania.UnitTable
unitWithPath
 
Methods inherited from class org.paneris.bibliomania.generated.UnitTableBase
getDeletedColumn, getLastencachedColumn, getLayoutColumn, getMessageboardColumn, getPathColumn, getUnitObject, getUnitObject
 
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, defaultCacheLimit, defaultCategory, defaultDisplayName, defaultOrderByClause, defaultRememberAllTroids, defineColumn, delete_unsafe, delete, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, extrasCount, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumnsCount, getDatabase, getDbmsTableType, 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, 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

ChapterTableBase

public ChapterTableBase(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
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Get the database tables.

Overrides:
getBibliomaniaDatabaseTables in class UnitTableBase
Returns:
the database tables
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

init

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

getIdColumn

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

Returns:
the id Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getBookColumn

public final org.melati.poem.Column getBookColumn()
Retrieves the Book Column for this Chapter Table.

Returns:
the book Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getSequenceColumn

public final org.melati.poem.Column getSequenceColumn()
Retrieves the Sequence Column for this Chapter Table.

Returns:
the sequence Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getTextidColumn

public final org.melati.poem.Column getTextidColumn()
Retrieves the Textid Column for this Chapter Table.

Returns:
the textid Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getIndexdateColumn

public final org.melati.poem.Column getIndexdateColumn()
Retrieves the Indexdate Column for this Chapter Table.

Returns:
the indexdate Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getTitleColumn

public final org.melati.poem.Column getTitleColumn()
Retrieves the Title Column for this Chapter Table.

Returns:
the title Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getLongtitleColumn

public final org.melati.poem.Column getLongtitleColumn()
Retrieves the Longtitle Column for this Chapter Table.

Returns:
the longtitle Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getFilenameColumn

public final org.melati.poem.Column getFilenameColumn()
Retrieves the Filename Column for this Chapter Table.

Returns:
the filename Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getPartColumn

public final org.melati.poem.Column getPartColumn()
Retrieves the Part Column for this Chapter Table.

Returns:
the part Column
See Also:
org.melati.poem.prepro.FieldDef#generateColAccessor

getChapterObject

public Chapter getChapterObject(java.lang.Integer troid)
Retrieve the Chapter as a Chapter.

Parameters:
troid - a Table Row Oject ID
Returns:
the Persistent identified by the troid
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

getChapterObject

public Chapter getChapterObject(int troid)
Retrieve the Chapter as a Chapter.

Parameters:
troid - a Table Row Object ID
Returns:
the Persistent identified
See Also:
org.melati.poem.prepro.TableDef#generateTableBaseJava

_newPersistent

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

defaultDescription

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

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class UnitTableBase


Copyright © 2000-2009 PanEris. All Rights Reserved.