public class Database extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DATABASE_ACCESS
type of database is generic (currently not used).
|
static int |
DATABASE_GENERIC
type of database is generic (currently not used).
|
static int |
DATABASE_MAX
maximum number of database types defined (currently not used).
|
Constructor and Description |
---|
Database() |
Modifier and Type | Method and Description |
---|---|
void |
addTable(Table table) |
Table |
getTable(Class clazz)
Returns that Table that is mapped to a Class.
|
Table |
getTable(String name) |
Table[] |
getTables()
Returns the Tables that are used in this Database.
|
void |
setTables(Table[] tables)
Sets the Tables that are used in this Database.
|
public static final int DATABASE_GENERIC
public static final int DATABASE_ACCESS
public static final int DATABASE_MAX
Copyright © 1999–2019 ViaOA. All rights reserved.