public class ChildTableBase<T extends Child> extends OdmgTable<T>
Table Child.
See org.melati.poem.prepro.TableDef#generateTableBaseJava| Constructor and Description |
|---|
ChildTableBase(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() |
int |
defaultDisplayOrder() |
Child |
getChildObject(int troid)
Retrieve the
Child
as a Child. |
Child |
getChildObject(Integer troid)
Retrieve the
Child as a Child. |
org.melati.poem.Column<Integer> |
getIdColumn()
Retrieves the
Id Column for this
Child Table. |
org.melati.poem.Column<String> |
getNameColumn()
Retrieves the
Name Column for this
Child Table. |
OdmgDatabaseTables |
getOdmgDatabaseTables()
Get the database tables.
|
org.melati.poem.Column<Integer> |
getParentColumn()
Retrieves the
Parent Column for this
Child 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, defaultCategory, defaultDescription, 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 ChildTableBase(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 OdmgDatabaseTables getOdmgDatabaseTables()
public void init()
throws org.melati.poem.PoemException
init in interface org.melati.poem.Table<T extends Child>init in class org.melati.poem.JdbcTable<T extends Child>org.melati.poem.PoemExceptionpublic final org.melati.poem.Column<Integer> getIdColumn()
Id Column for this
Child Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<String> getNameColumn()
Name Column for this
Child Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic final org.melati.poem.Column<Integer> getParentColumn()
Parent Column for this
Child Table.
see org.melati.poem.prepro.FieldDef#generateColAccessorColumnpublic Child getChildObject(Integer troid)
Child as a Child.
See org.melati.poem.prepro.TableDef#generateTableBaseJavatroid - a Table Row Object IDPersistent identified by the troidpublic Child getChildObject(int troid)
Child
as a Child.
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 Child>public int defaultDisplayOrder()
defaultDisplayOrder in interface org.melati.poem.Table<T extends Child>defaultDisplayOrder in class org.melati.poem.JdbcTable<T extends Child>Copyright © 2000–2015 PanEris. All rights reserved.