Class DatabaseInfoSearcherForDatabaseView
java.lang.Object
ch.nolix.system.midschemainfo.modelsearcher.DatabaseInfoSearcherForDatabaseView
- All Implemented Interfaces:
IDatabaseInfoSearcherForDatabaseInfo
public final class DatabaseInfoSearcherForDatabaseView
extends Object
implements IDatabaseInfoSearcherForDatabaseInfo
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionforDatabaseView(DatabaseInfoDto databaseView) getColumnViewByTableNameAndColumnId(String tableName, String columnId) getColumnViewByTableNameAndColumnName(String tableName, String columnName) getTableViewByTableId(String tableId) getTableViewByTableName(String tableName)
-
Method Details
-
forDatabaseView
- Parameters:
databaseView-- Returns:
- a new
DatabaseInfoSearcherForDatabaseViewfor the given databaseView. - Throws:
RuntimeException- if the given databaseView is null.
-
getColumnViewByTableNameAndColumnId
- Specified by:
getColumnViewByTableNameAndColumnIdin interfaceIDatabaseInfoSearcherForDatabaseInfo- Parameters:
tableName-columnId-- Returns:
- the
ColumnInfoDtowith the given columnId from the table with the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo.
-
getColumnViewByTableNameAndColumnName
- Specified by:
getColumnViewByTableNameAndColumnNamein interfaceIDatabaseInfoSearcherForDatabaseInfo- Parameters:
tableName-columnName-- Returns:
- the
ColumnInfoDtowith the given columnName from the table with the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo.
-
getTableViewByTableId
- Specified by:
getTableViewByTableIdin interfaceIDatabaseInfoSearcherForDatabaseInfo- Parameters:
tableId-- Returns:
- the
TableInfoDtowith the given tableId from database view of the currentIDatabaseInfoSearcherForDatabaseInfo.
-
getTableViewByTableName
- Specified by:
getTableViewByTableNamein interfaceIDatabaseInfoSearcherForDatabaseInfo- Parameters:
tableName-- Returns:
- the
TableInfoDtowith the given tableName from the database view of the currentIDatabaseInfoSearcherForDatabaseInfo.
-