org.melati.poem.test.generated
Class ProtectedTableBase

Package class diagram package ProtectedTableBase
java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.melati.poem.test.EverythingTable
          extended by org.melati.poem.test.generated.ProtectedTableBase
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
ProtectedTable

public class ProtectedTableBase
extends EverythingTable

Melati POEM generated base class for Table Protected.

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

Constructor Summary
ProtectedTableBase(org.melati.poem.Database database, String name, org.melati.poem.DefinitionSource definitionSource)
          Constructor.
 
Method Summary
protected  org.melati.poem.JdbcPersistent _newPersistent()
           
protected  String defaultCategory()
           
protected  String defaultDescription()
           
protected  int defaultDisplayOrder()
           
 org.melati.poem.Column getCanDeleteColumn()
          Retrieves the CanDelete Column for this Protected Table.
 org.melati.poem.Column getCanReadColumn()
          Retrieves the CanRead Column for this Protected Table.
 org.melati.poem.Column getCanSelectColumn()
          Retrieves the CanSelect Column for this Protected Table.
 org.melati.poem.Column getCanWriteColumn()
          Retrieves the CanWrite Column for this Protected Table.
 org.melati.poem.Column getDeletedColumn()
          Retrieves the Deleted Column for this Protected Table.
 EverythingDatabaseTables getEverythingDatabaseTables()
          Get the database tables.
 org.melati.poem.Column getIdColumn()
          Retrieves the Id Column for this Protected Table.
 org.melati.poem.Column getMissionColumn()
          Retrieves the Mission Column for this Protected Table.
 Protected getProtectedObject(int troid)
          Retrieve the Protected as a Protected.
 Protected getProtectedObject(Integer troid)
          Retrieve the Protected as a Protected.
 org.melati.poem.Column getSpyColumn()
          Retrieves the Spy Column for this Protected 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

ProtectedTableBase

public ProtectedTableBase(org.melati.poem.Database database,
                          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

getEverythingDatabaseTables

public EverythingDatabaseTables getEverythingDatabaseTables()
Get the database tables.

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 org.melati.poem.JdbcTable
Throws:
org.melati.poem.PoemException

getIdColumn

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

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

getSpyColumn

public final org.melati.poem.Column getSpyColumn()
Retrieves the Spy Column for this Protected Table.

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

getMissionColumn

public final org.melati.poem.Column getMissionColumn()
Retrieves the Mission Column for this Protected Table.

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

getCanReadColumn

public final org.melati.poem.Column getCanReadColumn()
Retrieves the CanRead Column for this Protected Table.

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

getCanWriteColumn

public final org.melati.poem.Column getCanWriteColumn()
Retrieves the CanWrite Column for this Protected Table.

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

getCanDeleteColumn

public final org.melati.poem.Column getCanDeleteColumn()
Retrieves the CanDelete Column for this Protected Table.

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

getCanSelectColumn

public final org.melati.poem.Column getCanSelectColumn()
Retrieves the CanSelect Column for this Protected Table.

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

getDeletedColumn

public final org.melati.poem.Column getDeletedColumn()
Retrieves the Deleted Column for this Protected Table.

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

getProtectedObject

public Protected getProtectedObject(Integer troid)
Retrieve the Protected as a Protected.

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

getProtectedObject

public Protected getProtectedObject(int troid)
Retrieve the Protected as a Protected.

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 String defaultDescription()
Overrides:
defaultDescription in class org.melati.poem.JdbcTable

defaultCategory

protected String defaultCategory()
Overrides:
defaultCategory in class org.melati.poem.JdbcTable

defaultDisplayOrder

protected int defaultDisplayOrder()
Overrides:
defaultDisplayOrder in class org.melati.poem.JdbcTable


Copyright © 2000-2010 PanEris. All Rights Reserved.