public class ContactTableBase<T extends Contact> extends ContactsTable<T>
Table Contact.
See org.melati.poem.prepro.TableDef#generateTableBaseJava| Constructor and Description |
|---|
ContactTableBase(org.melati.poem.Database database,
String name,
org.melati.poem.DefinitionSource definitionSource)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.melati.poem.JdbcPersistent |
_newPersistent() |
String |
defaultCategory() |
String |
defaultDescription() |
int |
defaultDisplayOrder() |
org.melati.poem.Column<String> |
getAddressColumn()
Retrieves the
Address Column for this
Contact Table. |
Contact |
getContactObject(int troid)
Retrieve the
Contact
as a Contact. |
Contact |
getContactObject(Integer troid)
Retrieve the
Contact as a Contact. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables.
|
org.melati.poem.Column<Integer> |
getIdColumn()
Retrieves the
Id Column for this
Contact Table. |
org.melati.poem.Column<Date> |
getLastupdatedColumn()
Retrieves the
Lastupdated Column for this
Contact Table. |
org.melati.poem.Column<Integer> |
getLastupdateuserColumn()
Retrieves the
Lastupdateuser Column for this
Contact Table. |
org.melati.poem.Column<String> |
getNameColumn()
Retrieves the
Name Column for this
Contact Table. |
org.melati.poem.Column<Integer> |
getOwnerColumn()
Retrieves the
Owner Column for this
Contact Table. |
org.melati.poem.Column<Integer> |
getUpdatesColumn()
Retrieves the
Updates Column for this
Contact Table. |
void |
init()
Initialise this table by defining its columns.
|
_getColumn, addColumnAndCommit, addListener, appendWhereClause, cachedCount, 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, getColumns, getColumnsCount, getDatabase, getDbmsTableType, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, 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, unifyWithMetadata, whereClause, whereClause, writeDownpublic ContactTableBase(org.melati.poem.Database database, String name, org.melati.poem.DefinitionSource definitionSource) throws org.melati.poem.PoemException
database - the POEM database we are usingname - the name of this TabledefinitionSource - which definition is being usedorg.melati.poem.PoemException - if anything goes wrongpublic ContactsDatabaseTables getContactsDatabaseTables()
public void init()
throws org.melati.poem.PoemException
init in interface org.melati.poem.Table<T extends Contact>init in class org.melati.poem.JdbcTable<T extends Contact>org.melati.poem.PoemExceptionpublic final org.melati.poem.Column<Integer> getIdColumn()
Id Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<String> getNameColumn()
Name Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getOwnerColumn()
Owner Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<String> getAddressColumn()
Address Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getUpdatesColumn()
Updates Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Date> getLastupdatedColumn()
Lastupdated Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getLastupdateuserColumn()
Lastupdateuser Column for this
Contact Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic Contact getContactObject(Integer troid)
Contact as a Contact.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identified by the troidpublic Contact getContactObject(int troid)
Contact
as a Contact.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identifiedprotected org.melati.poem.JdbcPersistent _newPersistent()
_newPersistent in class org.melati.poem.JdbcTable<T extends Contact>public String defaultDescription()
defaultDescription in interface org.melati.poem.Table<T extends Contact>defaultDescription in class org.melati.poem.JdbcTable<T extends Contact>public String defaultCategory()
defaultCategory in interface org.melati.poem.Table<T extends Contact>defaultCategory in class org.melati.poem.JdbcTable<T extends Contact>public int defaultDisplayOrder()
defaultDisplayOrder in interface org.melati.poem.Table<T extends Contact>defaultDisplayOrder in class org.melati.poem.JdbcTable<T extends Contact>Copyright © 2000–2015 PanEris. All rights reserved.