org.melati.poem.generated
Class ColumnInfoTableBase

Package class diagram package ColumnInfoTableBase
java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.melati.poem.PoemTable
          extended by org.melati.poem.generated.ValueInfoTableBase
              extended by org.melati.poem.ValueInfoTable
                  extended by org.melati.poem.generated.ColumnInfoTableBase
All Implemented Interfaces:
Selectable, Table
Direct Known Subclasses:
ColumnInfoTable

public class ColumnInfoTableBase
extends ValueInfoTable

Melati POEM generated base class for Table ColumnInfo.

See Also:
TableDef.generateTableBaseJava(java.io.Writer)

Constructor Summary
ColumnInfoTableBase(Database database, String name, DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  JdbcPersistent _newPersistent()
          A freshly minted, and uninitialised, Persistent object for the table.
protected  Integer defaultCacheLimit()
           
protected  String defaultCategory()
           
protected  String defaultDescription()
          The `factory-default' description for the table, or null if it doesn't have one.
protected  String defaultDisplayName()
          The `factory-default' display name for the table.
protected  int defaultDisplayOrder()
           
protected  boolean defaultRememberAllTroids()
           
 ColumnInfo getColumnInfoObject(int troid)
          Retrieve the ColumnInfo as a ColumnInfo.
 ColumnInfo getColumnInfoObject(Integer troid)
          Retrieve the ColumnInfo as a ColumnInfo.
 Column getDisplaylevelColumn()
          Retrieves the Displaylevel Column for this ColumnInfo Table.
 Column getDisplayorderColumn()
          Retrieves the Displayorder Column for this ColumnInfo Table.
 Column getDisplayorderpriorityColumn()
          Retrieves the Displayorderpriority Column for this ColumnInfo Table.
 Column getIdColumn()
          Retrieves the Id Column for this ColumnInfo Table.
 Column getIndexedColumn()
          Retrieves the Indexed Column for this ColumnInfo Table.
 Column getIntegrityfixColumn()
          Retrieves the Integrityfix Column for this ColumnInfo Table.
 Column getNameColumn()
          Retrieves the Name Column for this ColumnInfo Table.
 PoemDatabaseTables getPoemDatabaseTables()
          Get the database tables.
 Column getSearchabilityColumn()
          Retrieves the Searchability Column for this ColumnInfo Table.
 Column getSortdescendingColumn()
          Retrieves the Sortdescending Column for this ColumnInfo Table.
 Column getTableinfoColumn()
          Retrieves the Tableinfo Column for this ColumnInfo Table.
 Column getUniqueColumn()
          Retrieves the Unique Column for this ColumnInfo Table.
 Column getUsercreateableColumn()
          Retrieves the Usercreateable Column for this ColumnInfo Table.
 void init()
          Override this to perform pre-unification initialisation.
 
Methods inherited from class org.melati.poem.generated.ValueInfoTableBase
getDescriptionColumn, getDisplaynameColumn, getHeightColumn, getNullableColumn, getPrecisionColumn, getRangelimit_stringColumn, getRangelow_stringColumn, getRenderinfoColumn, getScaleColumn, getSizeColumn, getTypefactoryColumn, getUsereditableColumn, getValueInfoObject, getValueInfoObject, getWidthColumn
 
Methods inherited from class org.melati.poem.PoemTable
postInitialise
 
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, 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, 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

ColumnInfoTableBase

public ColumnInfoTableBase(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.generateTableBaseJava(java.io.Writer)
Method Detail

getPoemDatabaseTables

public PoemDatabaseTables getPoemDatabaseTables()
Get the database tables.

Overrides:
getPoemDatabaseTables in class ValueInfoTableBase
Returns:
the database tables
See Also:
TableDef.generateTableBaseJava(java.io.Writer)

init

public void init()
          throws PoemException
Description copied from class: JdbcTable
Override this to perform pre-unification initialisation.

Specified by:
init in interface Table
Overrides:
init in class ValueInfoTableBase
Throws:
PoemException

getIdColumn

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

Returns:
the id Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getTableinfoColumn

public final Column getTableinfoColumn()
Retrieves the Tableinfo Column for this ColumnInfo Table.

Returns:
the tableinfo Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getNameColumn

public final Column getNameColumn()
Retrieves the Name Column for this ColumnInfo Table.

Returns:
the name Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getDisplayorderColumn

public final Column getDisplayorderColumn()
Retrieves the Displayorder Column for this ColumnInfo Table.

Returns:
the displayorder Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getUsercreateableColumn

public final Column getUsercreateableColumn()
Retrieves the Usercreateable Column for this ColumnInfo Table.

Returns:
the usercreateable Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getDisplaylevelColumn

public final Column getDisplaylevelColumn()
Retrieves the Displaylevel Column for this ColumnInfo Table.

Returns:
the displaylevel Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getSearchabilityColumn

public final Column getSearchabilityColumn()
Retrieves the Searchability Column for this ColumnInfo Table.

Returns:
the searchability Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getDisplayorderpriorityColumn

public final Column getDisplayorderpriorityColumn()
Retrieves the Displayorderpriority Column for this ColumnInfo Table.

Returns:
the displayorderpriority Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getSortdescendingColumn

public final Column getSortdescendingColumn()
Retrieves the Sortdescending Column for this ColumnInfo Table.

Returns:
the sortdescending Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getIndexedColumn

public final Column getIndexedColumn()
Retrieves the Indexed Column for this ColumnInfo Table.

Returns:
the indexed Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getUniqueColumn

public final Column getUniqueColumn()
Retrieves the Unique Column for this ColumnInfo Table.

Returns:
the unique Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getIntegrityfixColumn

public final Column getIntegrityfixColumn()
Retrieves the Integrityfix Column for this ColumnInfo Table.

Returns:
the integrityfix Column
See Also:
FieldDef.generateColAccessor(java.io.Writer)

getColumnInfoObject

public ColumnInfo getColumnInfoObject(Integer troid)
Retrieve the ColumnInfo as a ColumnInfo.

Parameters:
troid - a Table Row Oject ID
Returns:
the Persistent identified by the troid
See Also:
TableDef.generateTableBaseJava(java.io.Writer)

getColumnInfoObject

public ColumnInfo getColumnInfoObject(int troid)
Retrieve the ColumnInfo as a ColumnInfo.

Parameters:
troid - a Table Row Object ID
Returns:
the Persistent identified
See Also:
TableDef.generateTableBaseJava(java.io.Writer)

_newPersistent

protected JdbcPersistent _newPersistent()
Description copied from class: JdbcTable
A freshly minted, and uninitialised, Persistent object for the table. You don't ever have to call this and there is no point in doing so This method is overridden in application-specialised Table subclasses derived from the Data Structure Definition.

Overrides:
_newPersistent in class JdbcTable

defaultDisplayName

protected String defaultDisplayName()
Description copied from class: JdbcTable
The `factory-default' display name for the table. By default this is the table's programmatic name, capitalised. Application-specialised tables override this to return any (displayname = ...) provided in the DSD. This is only ever used at startup time when creating columninfo records for tables that don't have them.

Overrides:
defaultDisplayName in class JdbcTable

defaultDescription

protected String defaultDescription()
Description copied from class: JdbcTable
The `factory-default' description for the table, or null if it doesn't have one. Application-specialised tables override this to return any (description = ...) provided in the DSD. This is only ever used at startup time when creating columninfo records for tables that don't have them.

Overrides:
defaultDescription in class JdbcTable

defaultRememberAllTroids

protected boolean defaultRememberAllTroids()
Overrides:
defaultRememberAllTroids in class JdbcTable

defaultCacheLimit

protected Integer defaultCacheLimit()
Overrides:
defaultCacheLimit in class JdbcTable

defaultCategory

protected String defaultCategory()
Overrides:
defaultCategory in class JdbcTable

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class ValueInfoTableBase


Copyright © 2000-2010 PanEris. All Rights Reserved.