|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for providing auto-definition of DataObjects. Many DataObjects needs something other than just classname to differentiate themselves. For example, AutoDBObject needs to know the table name to automatically initialize to. JoinedDataObject needs a location of the xml definition file. Classes that implement the Defineable interface should get their setDefinitionName() called before the object is actually used in any manner.
| Method Summary | |
String |
getDefinitionName()
Retrieve the key to the definition name for the given DBObject. |
void |
setDefinitionName(String definitionName)
Use this method to set the key to the definition name for the Defineable database object. |
| Method Detail |
public void setDefinitionName(String definitionName)
throws DataException
definitionName - java.lang.String, the actual definition of the
dataobject.
DataException - if the DataObject is unable to initialize itself
with the given definition name.public String getDefinitionName()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||