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

java.lang.Objectorg.melati.poem.JdbcTable
org.melati.example.contacts.ContactsTable
org.melati.example.contacts.generated.CategoryTableBase
public class CategoryTableBase
Melati POEM generated base class for
Table Category.
TableDef| Constructor Summary | |
|---|---|
CategoryTableBase(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
|
| Method Summary | |
|---|---|
protected JdbcPersistent |
_newPersistent()
|
protected String |
defaultCategory()
|
protected String |
defaultDescription()
|
protected int |
defaultDisplayOrder()
|
Category |
getCategoryObject(int troid)
Retrieve the Category
as a Category. |
Category |
getCategoryObject(Integer troid)
Retrieve the Category as a Category. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables. |
Column |
getIdColumn()
Retrieves the Id Column for this
Category Table. |
Column |
getNameColumn()
Retrieves the Name Column for this
Category Table. |
void |
init()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryTableBase(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 ContactsDatabaseTables getContactsDatabaseTables()
TableDef
public void init()
throws PoemException
init in interface Tableinit in class JdbcTablePoemExceptionpublic final Column getIdColumn()
Id Column for this
Category Table.
ColumnFieldDefpublic final Column getNameColumn()
Name Column for this
Category Table.
ColumnFieldDefpublic Category getCategoryObject(Integer troid)
Category as a Category.
troid - a Table Row Oject ID
Persistent identified by the troidTableDefpublic Category getCategoryObject(int troid)
Category
as a Category.
troid - a Table Row Object ID
Persistent identifiedTableDefprotected JdbcPersistent _newPersistent()
_newPersistent in class JdbcTableprotected String defaultDescription()
defaultDescription 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 | |||||||||