org.melati.example.contacts.generated
Class ContactCategoryTableBase

Package class diagram package ContactCategoryTableBase
java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.melati.example.contacts.ContactsTable
          extended by org.melati.example.contacts.generated.ContactCategoryTableBase
All Implemented Interfaces:
Selectable, Table
Direct Known Subclasses:
ContactCategoryTable

public class ContactCategoryTableBase
extends ContactsTable

Melati POEM generated base class for Table ContactCategory.

See Also:
TableDef

Constructor Summary
ContactCategoryTableBase(Database database, String name, DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  JdbcPersistent _newPersistent()
           
protected  String defaultCategory()
           
protected  String defaultDescription()
           
protected  int defaultDisplayOrder()
           
 Column getCategoryColumn()
          Retrieves the Category Column for this ContactCategory Table.
 ContactCategory getContactCategoryObject(int troid)
          Retrieve the ContactCategory as a ContactCategory.
 ContactCategory getContactCategoryObject(Integer troid)
          Retrieve the ContactCategory as a ContactCategory.
 Column getContactColumn()
          Retrieves the Contact Column for this ContactCategory Table.
 ContactsDatabaseTables getContactsDatabaseTables()
          Get the database tables.
 Column getIdColumn()
          Retrieves the Id Column for this ContactCategory 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, defaultCacheLimit, 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

ContactCategoryTableBase

public ContactCategoryTableBase(Database database,
                                String name,
                                DefinitionSource definitionSource)
                         throws PoemException
Constructor.

Parameters:
database - the POEM database we are using
name - the name of this Table
definitionSource - which definition is being used
Throws:
PoemException - if anything goes wrong
See Also:
TableDef
Method Detail

getContactsDatabaseTables

public ContactsDatabaseTables getContactsDatabaseTables()
Get the database tables.

Returns:
the database tables
See Also:
TableDef

init

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

getIdColumn

public final Column getIdColumn()
Retrieves the Id Column for this ContactCategory Table.

Returns:
the id Column
See Also:
FieldDef

getCategoryColumn

public final Column getCategoryColumn()
Retrieves the Category Column for this ContactCategory Table.

Returns:
the category Column
See Also:
FieldDef

getContactColumn

public final Column getContactColumn()
Retrieves the Contact Column for this ContactCategory Table.

Returns:
the contact Column
See Also:
FieldDef

getContactCategoryObject

public ContactCategory getContactCategoryObject(Integer troid)
Retrieve the ContactCategory as a ContactCategory.

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

getContactCategoryObject

public ContactCategory getContactCategoryObject(int troid)
Retrieve the ContactCategory as a ContactCategory.

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

_newPersistent

protected JdbcPersistent _newPersistent()
Overrides:
_newPersistent in class JdbcTable

defaultDescription

protected String defaultDescription()
Overrides:
defaultDescription in class JdbcTable

defaultCategory

protected String defaultCategory()
Overrides:
defaultCategory in class JdbcTable

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class JdbcTable


Copyright © 2000-2010 PanEris. All Rights Reserved.