Class DatabaseViewSearcher
java.lang.Object
ch.nolix.system.midschemaview.modelsearcher.DatabaseViewSearcher
- All Implemented Interfaces:
IDatabaseViewSearcher
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnViewByTableNameAndColumnId(DatabaseViewDto databaseView, String tableName, String columnId) getColumnViewByTableNameAndColumnName(DatabaseViewDto databaseView, String tableName, String columnName) getTableViewByTableId(DatabaseViewDto databaseView, String tableId) getTableViewByTableName(DatabaseViewDto databaseView, String tableName)
-
Constructor Details
-
DatabaseViewSearcher
public DatabaseViewSearcher()
-
-
Method Details
-
getColumnViewByTableNameAndColumnId
public ColumnViewDto getColumnViewByTableNameAndColumnId(DatabaseViewDto databaseView, String tableName, String columnId) - Specified by:
getColumnViewByTableNameAndColumnIdin interfaceIDatabaseViewSearcher- Parameters:
databaseView-tableName-columnId-- Returns:
- the
ColumnViewDtowith the given columnId from the table with the given tableName from the given databaseView.
-
getColumnViewByTableNameAndColumnName
public ColumnViewDto getColumnViewByTableNameAndColumnName(DatabaseViewDto databaseView, String tableName, String columnName) - Specified by:
getColumnViewByTableNameAndColumnNamein interfaceIDatabaseViewSearcher- Parameters:
databaseView-tableName-columnName-- Returns:
- the
ColumnViewDtowith the given columnName from the table with the given tableName from the given databaseView.
-
getTableViewByTableId
- Specified by:
getTableViewByTableIdin interfaceIDatabaseViewSearcher- Parameters:
databaseView-tableId-- Returns:
- the
TableViewDtowith the given tableId from the given databaseView.
-
getTableViewByTableName
- Specified by:
getTableViewByTableNamein interfaceIDatabaseViewSearcher- Parameters:
databaseView-tableName-- Returns:
- the
TableViewDtowith the given tableName from the given databaseView.
-