|
||||||||||
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.ValueInfoTableBase org.melati.poem.ValueInfoTable org.melati.poem.generated.SettingTableBase
public class SettingTableBase
Melati POEM generated base class for
Table
Setting
.
TableDef.generateTableBaseJava(java.io.Writer)
Constructor Summary | |
---|---|
SettingTableBase(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 int |
defaultDisplayOrder()
|
protected boolean |
defaultRememberAllTroids()
|
Column |
getIdColumn()
Retrieves the Id Column for this
Setting Table . |
Column |
getNameColumn()
Retrieves the Name Column for this
Setting Table . |
PoemDatabaseTables |
getPoemDatabaseTables()
Get the database tables. |
Setting |
getSettingObject(int troid)
Retrieve the Setting
as a Setting . |
Setting |
getSettingObject(Integer troid)
Retrieve the Setting as a Setting . |
Column |
getValueColumn()
Retrieves the Value Column for this
Setting 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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SettingTableBase(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()
getPoemDatabaseTables
in class ValueInfoTableBase
TableDef.generateTableBaseJava(java.io.Writer)
public void init() throws PoemException
JdbcTable
init
in interface Table
init
in class ValueInfoTableBase
PoemException
public final Column getIdColumn()
Id
Column
for this
Setting
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getNameColumn()
Name
Column
for this
Setting
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public final Column getValueColumn()
Value
Column
for this
Setting
Table
.
Column
FieldDef.generateColAccessor(java.io.Writer)
public Setting getSettingObject(Integer troid)
Setting
as a Setting
.
troid
- a Table Row Oject ID
Persistent
identified by the troid
TableDef.generateTableBaseJava(java.io.Writer)
public Setting getSettingObject(int troid)
Setting
as a Setting
.
troid
- a Table Row Object ID
Persistent
identifiedTableDef.generateTableBaseJava(java.io.Writer)
protected JdbcPersistent _newPersistent()
JdbcTable
_newPersistent
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 ValueInfoTableBase
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |