Interface ContextModelListener

All Known Implementing Classes:
DefaultContextModelListener

public interface ContextModelListener
Implementations of this class are interested in the discovery of new entity classes or generators.
Author:
Tobias Liefke
  • Method Details

    • foundColumn

      void foundColumn(GeneratorColumn column)
      Called when a new table column was discovered.
      Parameters:
      column - the new column
    • foundEntityClass

      void foundEntityClass(EntityClass<?> entityClass)
      Called when a new entity class was discovered.
      Parameters:
      entityClass - the found class
    • foundGenerator

      void foundGenerator(IdGenerator generator)
      Called when a new generator was discovered.
      Parameters:
      generator - the new generator
    • foundTable

      void foundTable(GeneratorTable table)
      Called when a new table was discovered. Attention: The columns are not discovered at this point.
      Parameters:
      table - the new table