|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.JdbcTable
org.melati.poem.PoemTable
org.melati.poem.generated.UserTableBase
public class UserTableBase
Melati POEM generated base class for
Table User.
TableDef| Constructor Summary | |
|---|---|
UserTableBase(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
|
| Method Summary | |
|---|---|
protected JdbcPersistent |
_newPersistent()
A freshly minted, and uninitialised, Persistent object for the table. |
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
User Table. |
Column |
getLoginColumn()
Retrieves the Login Column for this
User Table. |
Column |
getNameColumn()
Retrieves the Name Column for this
User Table. |
Column |
getPasswordColumn()
Retrieves the Password Column for this
User Table. |
PoemDatabaseTables |
getPoemDatabaseTables()
Get the database tables. |
User |
getUserObject(int troid)
Retrieve the User
as a User. |
User |
getUserObject(Integer troid)
Retrieve the User as a User. |
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 UserTableBase(Database database,
String name,
DefinitionSource definitionSource)
throws PoemException
database - the POEM database we are usingname - the name of this TabledefinitionSource - which definition is being used
PoemException - if anything goes wrongTableDef| Method Detail |
|---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef
public void init()
throws PoemException
JdbcTable
init in interface Tableinit in class JdbcTablePoemExceptionpublic final Column getIdColumn()
Id Column for this
User Table.
ColumnFieldDefpublic final Column getNameColumn()
Name Column for this
User Table.
ColumnFieldDefpublic final Column getLoginColumn()
Login Column for this
User Table.
ColumnFieldDefpublic final Column getPasswordColumn()
Password Column for this
User Table.
ColumnFieldDefpublic User getUserObject(Integer troid)
User as a User.
troid - a Table Row Oject ID
Persistent identified by the troidTableDefpublic User getUserObject(int troid)
User
as a User.
troid - a Table Row Object ID
Persistent identifiedTableDefprotected JdbcPersistent _newPersistent()
JdbcTable
_newPersistent in class JdbcTableprotected String defaultDescription()
JdbcTable
defaultDescription in class JdbcTableprotected boolean defaultRememberAllTroids()
defaultRememberAllTroids in class JdbcTableprotected String defaultCategory()
defaultCategory in class JdbcTableprotected int defaultDisplayOrder()
defaultDisplayOrder in class JdbcTable
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||