Interface IDatabaseInfoSearcherForDatabaseInfo
- All Known Implementing Classes:
DatabaseInfoSearcherForDatabaseView
public interface IDatabaseInfoSearcherForDatabaseInfo
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiongetColumnViewByTableNameAndColumnId(String tableName, String columnId) getColumnViewByTableNameAndColumnName(String tableName, String columnName) getTableViewByTableId(String tableId) getTableViewByTableName(String tableName)
-
Method Details
-
getColumnViewByTableNameAndColumnId
- Parameters:
tableName-columnId-- Returns:
- the
ColumnInfoDtowith the given columnId from the table with the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo. - Throws:
RuntimeException- if the database view of the currentIDatabaseInfoSearcherForDatabaseInfodoes not contain a table with the given tableName, that contains aColumnInfoDtowith the given columnId.
-
getColumnViewByTableNameAndColumnName
- Parameters:
tableName-columnName-- Returns:
- the
ColumnInfoDtowith the given columnName from the table with the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo. - Throws:
RuntimeException- if the database view of the currentIDatabaseInfoSearcherForDatabaseInfodoes not contain a table with the given tableName, that contains aColumnInfoDtowith the given columnName.
-
getTableViewByTableId
- Parameters:
tableId-- Returns:
- the
TableInfoDtowith the given tableId from database view of the currentIDatabaseInfoSearcherForDatabaseInfo. - Throws:
RuntimeException- if the database view of the currentIDatabaseInfoSearcherForDatabaseInfodoes not contain aTableInfoDtowith the given tableId.
-
getTableViewByTableName
- Parameters:
tableName-- Returns:
- the
TableInfoDtowith the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo. - Throws:
RuntimeException- if the database view of the currentIDatabaseInfoSearcherForDatabaseInfodoes not contain aTableInfoDtowith the given tableName.
-