schemacrawler.schema
Interface Database

All Superinterfaces:
Comparable<NamedObject>, NamedObject, Serializable

public interface Database
extends NamedObject

Database and connection information.

Author:
Sualeh Fatehi

Method Summary
 Catalog getCatalog(String catalogName)
          Gets a catalog by name.
 Catalog[] getCatalogs()
          Gets the schemas.
 DatabaseInfo getDatabaseInfo()
           
 JdbcDriverInfo getJdbcDriverInfo()
           
 SchemaCrawlerInfo getSchemaCrawlerInfo()
           
 ColumnDataType getSystemColumnDataType(String name)
          Gets the column data types defined by the RDBMS system, by name.
 ColumnDataType[] getSystemColumnDataTypes()
          Gets the column data types defined by the RDBMS system.
 
Methods inherited from interface schemacrawler.schema.NamedObject
getAttribute, getAttributes, getFullName, getName, getRemarks, setAttribute
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getCatalog

Catalog getCatalog(String catalogName)
Gets a catalog by name.

Parameters:
name - Name
Returns:
Catalog.

getCatalogs

Catalog[] getCatalogs()
Gets the schemas.

Returns:
Catalogs

getDatabaseInfo

DatabaseInfo getDatabaseInfo()

getJdbcDriverInfo

JdbcDriverInfo getJdbcDriverInfo()

getSchemaCrawlerInfo

SchemaCrawlerInfo getSchemaCrawlerInfo()

getSystemColumnDataType

ColumnDataType getSystemColumnDataType(String name)
Gets the column data types defined by the RDBMS system, by name.

Returns:
Column data type

getSystemColumnDataTypes

ColumnDataType[] getSystemColumnDataTypes()
Gets the column data types defined by the RDBMS system.

Returns:
Column data types


Copyright © 2003-2009 Sualeh Fatehi. All Rights Reserved.