|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.converters.databaseschema.DatabaseSchemaMetaData
Object containing metadata relating to a relational database schema.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.util.Map |
mTableMetaData
Mapping from table names to table metadata |
private java.lang.String[] |
mTableNames
Database schema details |
Constructor Summary | |
DatabaseSchemaMetaData()
Create a new database schema metadata object. |
Method Summary | |
TableMetaData |
getTable(java.lang.String name)
Returns the table metadata for a particular table. |
java.lang.String[] |
getTableNames()
Returns the names of the tables in this database. |
java.util.Map |
getTables()
Returns table metadata as a Map which maps
table names to TableMetaData . |
void |
setTableNames(java.lang.String[] tableNames)
Set the names of the tables in the database. |
void |
setTables(java.util.Map tableMetaData)
Set the table metadata in this database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String[] mTableNames
private java.util.Map mTableMetaData
Constructor Detail |
public DatabaseSchemaMetaData()
Method Detail |
public void setTableNames(java.lang.String[] tableNames)
tableNames
- Table names.public java.lang.String[] getTableNames()
public TableMetaData getTable(java.lang.String name)
name
- A table name.
null
.public void setTables(java.util.Map tableMetaData)
tableMetaData
- A mapping from table names to table metadata.public java.util.Map getTables()
Map
which maps
table names to TableMetaData
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |