|
||||||||||
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.example.contacts.ContactsTable org.melati.example.contacts.generated.ContactTableBase
public class ContactTableBase
Melati POEM generated base class for
Table
Contact
.
TableDef
Constructor Summary | |
---|---|
ContactTableBase(Database database,
String name,
DefinitionSource definitionSource)
Constructor. |
Method Summary | |
---|---|
protected JdbcPersistent |
_newPersistent()
|
protected String |
defaultCategory()
|
protected String |
defaultDescription()
|
protected int |
defaultDisplayOrder()
|
Column |
getAddressColumn()
Retrieves the Address Column for this
Contact Table . |
Contact |
getContactObject(int troid)
Retrieve the Contact
as a Contact . |
Contact |
getContactObject(Integer troid)
Retrieve the Contact as a Contact . |
ContactsDatabaseTables |
getContactsDatabaseTables()
Get the database tables. |
Column |
getIdColumn()
Retrieves the Id Column for this
Contact Table . |
Column |
getLastupdatedColumn()
Retrieves the Lastupdated Column for this
Contact Table . |
Column |
getLastupdateuserColumn()
Retrieves the Lastupdateuser Column for this
Contact Table . |
Column |
getNameColumn()
Retrieves the Name Column for this
Contact Table . |
Column |
getOwnerColumn()
Retrieves the Owner Column for this
Contact Table . |
Column |
getUpdatesColumn()
Retrieves the Updates Column for this
Contact Table . |
void |
init()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContactTableBase(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
Method Detail |
---|
public ContactsDatabaseTables getContactsDatabaseTables()
TableDef
public void init() throws PoemException
init
in interface Table
init
in class JdbcTable
PoemException
public final Column getIdColumn()
Id
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getNameColumn()
Name
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getOwnerColumn()
Owner
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getAddressColumn()
Address
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getUpdatesColumn()
Updates
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getLastupdatedColumn()
Lastupdated
Column
for this
Contact
Table
.
Column
FieldDef
public final Column getLastupdateuserColumn()
Lastupdateuser
Column
for this
Contact
Table
.
Column
FieldDef
public Contact getContactObject(Integer troid)
Contact
as a Contact
.
troid
- a Table Row Oject ID
Persistent
identified by the troid
TableDef
public Contact getContactObject(int troid)
Contact
as a Contact
.
troid
- a Table Row Object ID
Persistent
identifiedTableDef
protected JdbcPersistent _newPersistent()
_newPersistent
in class JdbcTable
protected String defaultDescription()
defaultDescription
in class JdbcTable
protected String defaultCategory()
defaultCategory
in class JdbcTable
protected int defaultDisplayOrder()
defaultDisplayOrder
in class JdbcTable
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |