org.eclipse.jpt.db
Interface Database

All Superinterfaces:
java.lang.Comparable<Database>, SchemaContainer

public interface Database
extends SchemaContainer, java.lang.Comparable<Database>

Database Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Method Summary
 Catalog catalogNamed(java.lang.String name)
          Return the catalog in the database with the specified name, respecting the database's case-sensitivity.
 java.util.Iterator<java.lang.String> catalogNames()
          Return the names of the database's catalogs.
 java.util.Iterator<Catalog> catalogs()
          Return the database's catalogs.
 int catalogsSize()
          Return the number of catalogs the database contains.
 boolean containsCatalogNamed(java.lang.String name)
          Return whether the database contains a catalog with the specified name, respecting the database's case-sensitivity.
 Catalog getDefaultCatalog()
          Return the database's "default" catalog.
 org.eclipse.datatools.connectivity.sqm.core.definition.DatabaseDefinition getDtpDefinition()
          Return the database's DTP database definition.
 java.lang.String getName()
          Return the database's name.
 java.lang.String getVendor()
          Return the database's vendor.
 java.lang.String getVersion()
          Return the database's version.
 boolean isCaseSensitive()
          Return whether the database's identifiers are case-sensitive.
 boolean supportsCatalogs()
          Return whether the database supports catalogs.
 
Methods inherited from interface org.eclipse.jpt.db.SchemaContainer
containsSchemaNamed, schemaNamed, schemaNames, schemata, schemataSize
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

java.lang.String getName()
Return the database's name.


getVendor

java.lang.String getVendor()
Return the database's vendor.


getVersion

java.lang.String getVersion()
Return the database's version.


isCaseSensitive

boolean isCaseSensitive()
Return whether the database's identifiers are case-sensitive.


getDtpDefinition

org.eclipse.datatools.connectivity.sqm.core.definition.DatabaseDefinition getDtpDefinition()
Return the database's DTP database definition.


supportsCatalogs

boolean supportsCatalogs()
Return whether the database supports catalogs.


catalogs

java.util.Iterator<Catalog> catalogs()
Return the database's catalogs.


catalogsSize

int catalogsSize()
Return the number of catalogs the database contains.


catalogNames

java.util.Iterator<java.lang.String> catalogNames()
Return the names of the database's catalogs.


containsCatalogNamed

boolean containsCatalogNamed(java.lang.String name)
Return whether the database contains a catalog with the specified name, respecting the database's case-sensitivity.


catalogNamed

Catalog catalogNamed(java.lang.String name)
Return the catalog in the database with the specified name, respecting the database's case-sensitivity.


getDefaultCatalog

Catalog getDefaultCatalog()
Return the database's "default" catalog.