org.codehaus.modello.generator.database.model
Class Database
java.lang.Object
org.codehaus.modello.generator.database.model.Database
public class Database
extends java.lang.Object
Models a database.
$Id: Database.java 508 2005-10-25 00:37:08Z brett $- John Marshall/Connectria
- Matthew Hawthorne
Database
public Database()
addTable
public void addTable(Table table)
findTable
public Table findTable(String name)
Finds the table with the specified name, using case insensitive matching.
Note that this method is not called getTable(String) to avoid introspection
problems.
getName
public String getName()
getTable
public Table getTable(int index)
getTables
public List getTables()
getVersion
public String getVersion()
setIdMethod
public void setIdMethod(String idMethod)
setName
public void setName(String name)
setTable
public void setTable(int index,
Table table)
setVersion
public void setVersion(String ver)
toString
public String toString()