|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.JdbcTable org.melati.poem.PoemTable org.melati.poem.generated.TableInfoTableBase
public class TableInfoTableBase
Melati POEM generated base class for
Table
TableInfo
.
TableDef.generateTableBaseJava(java.io.Writer)
Constructor Summary | |
---|---|
TableInfoTableBase(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()
|
Column |
getCachelimitColumn()
Retrieves the Cachelimit Column for this
TableInfo Table . |
Column |
getCancreateColumn()
Retrieves the Cancreate Column for this
TableInfo Table . |
Column |
getCategoryColumn()
Retrieves the Category Column for this
TableInfo Table . |
Column |
getDefaultcandeleteColumn()
Retrieves the Defaultcandelete Column for this
TableInfo Table . |
Column |
getDefaultcanreadColumn()
Retrieves the Defaultcanread Column for this
TableInfo Table . |
Column |
getDefaultcanwriteColumn()
Retrieves the Defaultcanwrite Column for this
TableInfo Table . |
Column |
getDescriptionColumn()
Retrieves the Description Column for this
TableInfo Table . |
Column |
getDisplaynameColumn()
Retrieves the Displayname Column for this
TableInfo Table . |
Column |
getDisplayorderColumn()
Retrieves the Displayorder Column for this
TableInfo Table . |
Column |
getIdColumn()
Retrieves the Id Column for this
TableInfo Table . |
Column |
getNameColumn()
Retrieves the Name Column for this
TableInfo Table . |
PoemDatabaseTables |
getPoemDatabaseTables()
Get the database tables. |
Column |
getSeqcachedColumn()
Retrieves the Seqcached Column for this
TableInfo Table . |
TableInfo |
getTableInfoObject(int troid)
Retrieve the TableInfo
as a TableInfo . |
TableInfo |
getTableInfoObject(Integer troid)
Retrieve the TableInfo as a TableInfo . |
void |
init()
Override this to perform pre-unification initialisation. |
Methods inherited from class org.melati.poem.PoemTable |
---|
postInitialise |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableInfoTableBase(Database database, String name, DefinitionSource definitionSource) throws PoemException
database
- the POEM database we are usingname
- the name of this Table
definitionSource
- which definition is being used
PoemException
- if anything goes wrongTableDef.generateTableBaseJava(java.io.Writer)
Method Detail |
---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef.generateTableBaseJava(java.io.Writer)
public void init() throws PoemException
JdbcTable
init
in interface Table
init
in class JdbcTable
PoemException
public final Column getIdColumn()
Id
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getNameColumn()
Name
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDisplaynameColumn()
Displayname
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDescriptionColumn()
Description
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDisplayorderColumn()
Displayorder
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDefaultcanreadColumn()
Defaultcanread
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDefaultcanwriteColumn()
Defaultcanwrite
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getDefaultcandeleteColumn()
Defaultcandelete
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getCancreateColumn()
Cancreate
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getCachelimitColumn()
Cachelimit
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getSeqcachedColumn()
Seqcached
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getCategoryColumn()
Category
Column
for this
TableInfo
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public TableInfo getTableInfoObject(Integer troid)
TableInfo
as a TableInfo
.
troid
- a Table Row Oject ID
Persistent
identified by the troid
TableDef.generateTableBaseJava(java.io.Writer)
public TableInfo getTableInfoObject(int troid)
TableInfo
as a TableInfo
.
troid
- a Table Row Object ID
Persistent
identifiedTableDef.generateTableBaseJava(java.io.Writer)
protected JdbcPersistent _newPersistent()
JdbcTable
_newPersistent
in class JdbcTable
protected String defaultDisplayName()
JdbcTable
defaultDisplayName
in class JdbcTable
protected String defaultDescription()
JdbcTable
defaultDescription
in class JdbcTable
protected boolean defaultRememberAllTroids()
defaultRememberAllTroids
in class JdbcTable
protected Integer defaultCacheLimit()
defaultCacheLimit
in class JdbcTable
protected String defaultCategory()
defaultCategory
in class JdbcTable
protected int defaultDisplayOrder()
defaultDisplayOrder
in class JdbcTable
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |