public interface ModelElementFinder
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Association> |
findAssociations(DataModel dataModel,
java.util.Map<Association,java.lang.String[]> namingSuggestions,
Session session,
ExecutionContext executionContext)
Finds a set of
Association s. |
java.util.List<Column> |
findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
java.util.Collection<Table> |
findTables(Session session,
ExecutionContext executionContext)
Finds a set of
Table s. |
java.util.Map<Pair<Table,Column>,java.lang.String> |
getComments()
Finds comments for all model elements.
|
java.util.Collection<Table> findTables(Session session, ExecutionContext executionContext) throws java.lang.Exception
Table
s.session
- the statement executor for executing SQL-statementsTable
sjava.lang.Exception
- on each errorjava.util.List<Column> findColumns(Table table, Session session, ExecutionContext executionContext) throws java.lang.Exception
table
- the tablesession
- the statement executor for executing SQL-statementsjava.lang.Exception
- on each errorjava.util.Collection<Association> findAssociations(DataModel dataModel, java.util.Map<Association,java.lang.String[]> namingSuggestions, Session session, ExecutionContext executionContext) throws java.lang.Exception
Association
s.dataModel
- model containing already known elements.session
- the statement executor for executing SQL-statementsnamingSuggestions
- to put naming suggestions for associations intoAssociation
sjava.lang.Exception
- on each error