private static final class ConnectedStatementsWriter.ContextListener extends DefaultContextModelListener
Modifier and Type | Field and Description |
---|---|
private Map<GeneratorTable,List<ConnectedStatementsWriter.PreparedInsertStatement>> |
availablePreparedStatements |
private GeneratorContext |
context |
private Statement |
plainStatement |
private List<ConnectedStatementsWriter.PreparedInsertStatement> |
preparedStatements |
Constructor and Description |
---|
ContextListener(GeneratorContext context,
Statement plainStatement,
List<ConnectedStatementsWriter.PreparedInsertStatement> preparedStatements,
Map<GeneratorTable,List<ConnectedStatementsWriter.PreparedInsertStatement>> availablePreparedStatements) |
Modifier and Type | Method and Description |
---|---|
void |
foundColumn(GeneratorColumn column)
Called when a new table column was discovered.
|
void |
foundGenerator(IdGenerator generator)
Called when a new generator was discovered.
|
foundEntityClass, foundTable
private final GeneratorContext context
private final Statement plainStatement
private final List<ConnectedStatementsWriter.PreparedInsertStatement> preparedStatements
private final Map<GeneratorTable,List<ConnectedStatementsWriter.PreparedInsertStatement>> availablePreparedStatements
@ConstructorProperties(value={"context","plainStatement","preparedStatements","availablePreparedStatements"}) @Generated(value="lombok") public ContextListener(GeneratorContext context, Statement plainStatement, List<ConnectedStatementsWriter.PreparedInsertStatement> preparedStatements, Map<GeneratorTable,List<ConnectedStatementsWriter.PreparedInsertStatement>> availablePreparedStatements)
public void foundColumn(GeneratorColumn column)
ContextModelListener
foundColumn
in interface ContextModelListener
foundColumn
in class DefaultContextModelListener
column
- the new columnpublic void foundGenerator(IdGenerator generator)
ContextModelListener
foundGenerator
in interface ContextModelListener
foundGenerator
in class DefaultContextModelListener
generator
- the new generatorCopyright © 2022 fastnate.org. All rights reserved.