public interface TableDefinition
TableMetaData
instance. The TableDefinition
instance only provides access to the table metadata, but no table data.
A TableDefinition instance is not thread-safe (see Database
for
more thread-safety details).
Modifier and Type | Method and Description |
---|---|
Column |
getColumn(String name) |
int |
getColumnCount() |
List<? extends Column> |
getColumns() |
LocalDateTime |
getCreatedDate() |
Database |
getDatabase() |
Index |
getForeignKeyIndex(Table otherTable) |
Index |
getIndex(String name) |
List<? extends Index> |
getIndexes() |
String |
getName() |
Index |
getPrimaryKeyIndex() |
PropertyMap |
getProperties() |
LocalDateTime |
getUpdatedDate()
Note: jackcess does not automatically update the modified date of a
Table.
|
boolean |
isHidden()
Whether or not this table has been marked as hidden.
|
boolean |
isSystem()
Whether or not this table is a system (internal) table.
|
String getName()
boolean isHidden()
boolean isSystem()
int getColumnCount()
Database getDatabase()
List<? extends Column> getColumns()
Column getColumn(String name)
PropertyMap getProperties() throws IOException
IOException
LocalDateTime getCreatedDate() throws IOException
IOException
LocalDateTime getUpdatedDate() throws IOException
IOException
List<? extends Index> getIndexes()
Index getIndex(String name)
IllegalArgumentException
- if there is no index with the given nameIndex getPrimaryKeyIndex()
IllegalArgumentException
- if there is no primary key index on this
tableIndex getForeignKeyIndex(Table otherTable)
IllegalArgumentException
- if there is no relationship between this
table and the given tableCopyright © 2005–2024 OpenHMS. All rights reserved.