|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.torque.engine.database.model.Database
A class for holding application data structures.
Field Summary | |
private java.lang.String |
baseClass
Deprecated. |
private java.lang.String |
basePeer
Deprecated. |
private Column |
curColumn
Deprecated. |
private AppData |
dbParent
Deprecated. |
private java.lang.String |
defaultIdMethod
Deprecated. |
private java.lang.String |
name
Deprecated. |
private java.lang.String |
pkg
Deprecated. |
private java.util.List |
tableList
Deprecated. |
private java.util.Hashtable |
tablesByJavaName
Deprecated. |
private java.util.Hashtable |
tablesByName
Deprecated. |
Constructor Summary | |
Database()
Deprecated. Default Constructor |
Method Summary | |
Table |
addTable(org.xml.sax.AttributeList attrib)
Deprecated. An utility method to add a new table from an xml attribute. |
void |
addTable(Table tbl)
Deprecated. Add a table to the vector and sets the Database property to this Database |
AppData |
getAppData()
Deprecated. Get the parent of the table |
java.lang.String |
getBaseClass()
Deprecated. Get the value of baseClass. |
java.lang.String |
getBasePeer()
Deprecated. Get the value of basePeer. |
java.lang.String |
getDefaultIdMethod()
Deprecated. Get the value of defaultIdMethod. |
java.lang.String |
getName()
Deprecated. Get the name of the Database |
java.lang.String |
getPackage()
Deprecated. Get the value of package. |
Table |
getTable(java.lang.String name)
Deprecated. Return the table with the specified name. |
Table |
getTableByJavaName(java.lang.String javaName)
Deprecated. Return the table with the specified javaName. |
Table[] |
getTables()
Deprecated. Return an array of all tables |
void |
loadFromXML(org.xml.sax.AttributeList attrib)
Deprecated. Load the database object from an xml tag. |
void |
setAppData(AppData parent)
Deprecated. Set the parent of the database |
void |
setBaseClass(java.lang.String v)
Deprecated. Set the value of baseClass. |
void |
setBasePeer(java.lang.String v)
Deprecated. Set the value of basePeer. |
void |
setDefaultIdMethod(java.lang.String v)
Deprecated. Set the value of defaultIdMethod. |
void |
setName(java.lang.String newName)
Deprecated. Set the name of the Database |
void |
setPackage(java.lang.String v)
Deprecated. Set the value of package. |
java.lang.String |
toString()
Deprecated. Creats a string representation of this Database. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.List tableList
private Column curColumn
private java.lang.String name
private java.lang.String pkg
private java.lang.String baseClass
private java.lang.String basePeer
private java.lang.String defaultIdMethod
private AppData dbParent
private java.util.Hashtable tablesByName
private java.util.Hashtable tablesByJavaName
Constructor Detail |
public Database()
Method Detail |
public void loadFromXML(org.xml.sax.AttributeList attrib)
public java.lang.String getName()
public void setName(java.lang.String newName)
public java.lang.String getPackage()
public void setPackage(java.lang.String v)
v
- Value to assign to package.public java.lang.String getBaseClass()
public void setBaseClass(java.lang.String v)
v
- Value to assign to baseClass.public java.lang.String getBasePeer()
public void setBasePeer(java.lang.String v)
v
- Value to assign to basePeer.public java.lang.String getDefaultIdMethod()
public void setDefaultIdMethod(java.lang.String v)
v
- Value to assign to defaultIdMethod.public Table[] getTables()
public Table getTable(java.lang.String name)
public Table getTableByJavaName(java.lang.String javaName)
public Table addTable(org.xml.sax.AttributeList attrib)
public void addTable(Table tbl)
public void setAppData(AppData parent)
public AppData getAppData()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |