|
||||||||||
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.TableCategoryTableBase org.melati.poem.TableCategoryTable
public class TableCategoryTable
A Table
which holds TableCategory
s.
Melati POEM generated, programmer modifiable stub
for a TableCategoryTable
object.
Description: A category under which a table can be classified.
Field summary for SQL table TableCategory
| ||
---|---|---|
Name | Type | Description |
id | Integer | The Table Row Object ID |
name | String | A human-readable name for the category |
Field Summary | |
---|---|
static TableCategory |
NORMAL
The category for ordinary data tables. |
static String |
normalTableCategoryName
Category name for normal tables. |
Constructor Summary | |
---|---|
TableCategoryTable(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
Method Summary | |
---|---|
TableCategory |
ensure(String name)
Create an entry with the given name if it doesn't exist. |
void |
postInitialise()
Setup default access capabilities and ensure that the Normal category exists. |
Methods inherited from class org.melati.poem.generated.TableCategoryTableBase |
---|
_newPersistent, defaultCacheLimit, defaultCategory, defaultDescription, defaultDisplayName, defaultDisplayOrder, defaultRememberAllTroids, getIdColumn, getNameColumn, getPoemDatabaseTables, getTableCategoryObject, getTableCategoryObject, init |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String normalTableCategoryName
public static TableCategory NORMAL
Constructor Detail |
---|
public TableCategoryTable(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 wrongMethod Detail |
---|
public TableCategory ensure(String name)
name
- the name of the Category
public void postInitialise()
postInitialise
in interface Table
postInitialise
in class PoemTable
JdbcTable.notifyColumnInfo(ColumnInfo)
,
JdbcTable.clearColumnInfoCaches()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |