uk.org.ogsadai.client.toolkit.properties
Class DatabaseSchemaMetaData

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.properties.DatabaseSchemaMetaData

public class DatabaseSchemaMetaData
extends java.lang.Object

Implementation class for meta-data relating to a relational database schema.

Author:
The OGSA-DAI Project Team

Method Summary
static DatabaseSchemaMetaData createFromProperty(Property property)
           
 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 the table name to an TableMetaData object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTableNames

public java.lang.String[] getTableNames()
Returns the names of the tables in this database

Returns:
an array of table names

getTables

public java.util.Map getTables()
Returns table metadata as a Map which maps the table name to an TableMetaData object.

Returns:
table metadata

createFromProperty

public static DatabaseSchemaMetaData createFromProperty(Property property)
                                                 throws DataFormatException
DataFormatException