|
||||||||||
| 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.odmg.OdmgTable
org.melati.example.odmg.generated.ChildTableBase
public class ChildTableBase
Melati POEM generated base class for
Table Child.
TableDef| Constructor Summary | |
|---|---|
ChildTableBase(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
|
| Method Summary | |
|---|---|
protected JdbcPersistent |
_newPersistent()
|
protected int |
defaultDisplayOrder()
|
Child |
getChildObject(int troid)
Retrieve the Child
as a Child. |
Child |
getChildObject(Integer troid)
Retrieve the Child as a Child. |
Column |
getIdColumn()
Retrieves the Id Column for this
Child Table. |
Column |
getNameColumn()
Retrieves the Name Column for this
Child Table. |
OdmgDatabaseTables |
getOdmgDatabaseTables()
Get the database tables. |
Column |
getParentColumn()
Retrieves the Parent Column for this
Child Table. |
void |
init()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChildTableBase(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 OdmgDatabaseTables getOdmgDatabaseTables()
TableDef
public void init()
throws PoemException
init in interface Tableinit in class JdbcTablePoemExceptionpublic final Column getIdColumn()
Id Column for this
Child Table.
ColumnFieldDefpublic final Column getNameColumn()
Name Column for this
Child Table.
ColumnFieldDefpublic final Column getParentColumn()
Parent Column for this
Child Table.
ColumnFieldDefpublic Child getChildObject(Integer troid)
Child as a Child.
troid - a Table Row Oject ID
Persistent identified by the troidTableDefpublic Child getChildObject(int troid)
Child
as a Child.
troid - a Table Row Object ID
Persistent identifiedTableDefprotected JdbcPersistent _newPersistent()
_newPersistent 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 | |||||||||