|
||||||||||
| 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.ContactCategoryTableBase
public class ContactCategoryTableBase
Melati POEM generated base class for
Table ContactCategory.
TableDef.generateTableBaseJava(java.io.Writer)| Constructor Summary | |
|---|---|
ContactCategoryTableBase(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()
|
Column |
getCategoryColumn()
Retrieves the Category Column for this
ContactCategory Table. |
ContactCategory |
getContactCategoryObject(int troid)
Retrieve the ContactCategory
as a ContactCategory. |
ContactCategory |
getContactCategoryObject(Integer troid)
Retrieve the ContactCategory as a ContactCategory. |
Column |
getContactColumn()
Retrieves the Contact Column for this
ContactCategory Table. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables. |
Column |
getIdColumn()
Retrieves the Id Column for this
ContactCategory Table. |
void |
init()
Override this to perform pre-unification initialisation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContactCategoryTableBase(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.generateTableBaseJava(java.io.Writer)| Method Detail |
|---|
public ContactsDatabaseTables getContactsDatabaseTables()
TableDef.generateTableBaseJava(java.io.Writer)
public void init()
throws PoemException
JdbcTable
init in interface Tableinit in class JdbcTablePoemExceptionpublic final Column getIdColumn()
Id Column for this
ContactCategory Table.
ColumnFieldDef.generateColAccessor(java.io.Writer)public final Column getCategoryColumn()
Category Column for this
ContactCategory Table.
ColumnFieldDef.generateColAccessor(java.io.Writer)public final Column getContactColumn()
Contact Column for this
ContactCategory Table.
ColumnFieldDef.generateColAccessor(java.io.Writer)public ContactCategory getContactCategoryObject(Integer troid)
ContactCategory as a ContactCategory.
troid - a Table Row Oject ID
Persistent identified by the troidTableDef.generateTableBaseJava(java.io.Writer)public ContactCategory getContactCategoryObject(int troid)
ContactCategory
as a ContactCategory.
troid - a Table Row Object ID
Persistent identifiedTableDef.generateTableBaseJava(java.io.Writer)protected JdbcPersistent _newPersistent()
JdbcTable
_newPersistent in class JdbcTableprotected String defaultDescription()
JdbcTable
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 | |||||||||