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
Associations. |
java.util.List<Column> |
findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
java.util.Collection<Table> |
findTables(Session session,
ExecutionContext executionContext)
Finds a set of
Tables. |
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
Tables.session - the statement executor for executing SQL-statementsTablesjava.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
Associations.dataModel - model containing already known elements.session - the statement executor for executing SQL-statementsnamingSuggestions - to put naming suggestions for associations intoAssociationsjava.lang.Exception - on each error