Class DatabaseViewSearcherForDatabaseView
java.lang.Object
ch.nolix.system.midschemaview.modelsearcher.DatabaseViewSearcherForDatabaseView
- All Implemented Interfaces:
IDatabaseViewSearcherForDatabaseView
public final class DatabaseViewSearcherForDatabaseView
extends Object
implements IDatabaseViewSearcherForDatabaseView
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionforDatabaseView(DatabaseViewDto 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
DatabaseViewSearcherForDatabaseViewfor the given databaseView. - Throws:
RuntimeException- if the given databaseView is null.
-
getColumnViewByTableNameAndColumnId
- Specified by:
getColumnViewByTableNameAndColumnIdin interfaceIDatabaseViewSearcherForDatabaseView- Parameters:
tableName-columnId-- Returns:
- the
ColumnViewDtowith the given columnId from the table with the given tableName from the database view of the currentIDatabaseViewSearcherForDatabaseView.
-
getColumnViewByTableNameAndColumnName
- Specified by:
getColumnViewByTableNameAndColumnNamein interfaceIDatabaseViewSearcherForDatabaseView- Parameters:
tableName-columnName-- Returns:
- the
ColumnViewDtowith the given columnName from the table with the given tableName from the database view of the currentIDatabaseViewSearcherForDatabaseView.
-
getTableViewByTableId
- Specified by:
getTableViewByTableIdin interfaceIDatabaseViewSearcherForDatabaseView- Parameters:
tableId-- Returns:
- the
TableViewDtowith the given tableId from database view of the currentIDatabaseViewSearcherForDatabaseView.
-
getTableViewByTableName
- Specified by:
getTableViewByTableNamein interfaceIDatabaseViewSearcherForDatabaseView- Parameters:
tableName-- Returns:
- the
TableViewDtowith the given tableName from the database view of the currentIDatabaseViewSearcherForDatabaseView.
-