public interface TableMetaData
Modifier and Type | Interface and Description |
---|---|
static class |
TableMetaData.Type |
Modifier and Type | Method and Description |
---|---|
String |
getConnectionName()
The connection of this the linked database if this is a linked ODBC
table,
null otherwise. |
String |
getLinkedDbName()
The name of this the linked database if this is a linked table,
null otherwise. |
String |
getLinkedTableName()
The name of this linked table in the linked database if this is a linked
table,
null otherwise. |
String |
getName()
The name of the table (as it is stored in the database)
|
TableDefinition |
getTableDefinition(Database db)
Gets the local table definition from the given Database instance if
available.
|
TableMetaData.Type |
getType()
The type of table
|
boolean |
isLinked()
true if this is a linked table, false otherwise. |
boolean |
isSystem()
true if this is a system table, false otherwise. |
Table |
open(Database db)
Opens this table from the given Database instance.
|
TableMetaData.Type getType()
String getName()
boolean isLinked()
true
if this is a linked table, false
otherwise.boolean isSystem()
true
if this is a system table, false
otherwise.String getLinkedTableName()
null
otherwise.String getLinkedDbName()
null
otherwise.String getConnectionName()
null
otherwise.Table open(Database db) throws IOException
IOException
TableDefinition getTableDefinition(Database db) throws IOException
IOException
Copyright © 2005–2024 OpenHMS. All rights reserved.