edu.stanford.smi.protegex.owl.swrl.ddm
Interface DatabaseConnection
- All Known Implementing Classes:
- DatabaseConnectionImpl
public interface DatabaseConnection
getUserID
String getUserID()
getPassword
String getPassword()
getDatabase
Database getDatabase()
getTables
Set<Table> getTables()
throws SQLException
- Throws:
SQLException
getPrimaryKeys
Set<PrimaryKey> getPrimaryKeys()
throws SQLException
- Throws:
SQLException
getForeignKeys
Set<ForeignKey> getForeignKeys()
throws SQLException
- Throws:
SQLException
getSchemaNames
Set<String> getSchemaNames()
throws SQLException
- Throws:
SQLException
getTables
Set<Table> getTables(String schemaName)
throws SQLException
- Throws:
SQLException
getPrimaryKeys
Set<PrimaryKey> getPrimaryKeys(String schemaName)
throws SQLException
- Throws:
SQLException
getForeignKeys
Set<ForeignKey> getForeignKeys(String schemaName)
throws SQLException
- Throws:
SQLException
open
void open()
throws SQLException
- Throws:
SQLException
executeQuery
ResultSet executeQuery(String query)
throws SQLException
- Throws:
SQLException
isOpen
boolean isOpen()
close
void close()
throws SQLException
- Throws:
SQLException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.