org.apache.cayenne.access

## Interface DbLoaderDelegate

-     public interface DbLoaderDelegate

  DbLoaderDelegate defines API that allows to control the behavior of DbLoader during the database reverse-engineering. Delegate is also notified of the progress of reverse-engineering.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dbEntityAdded(DbEntity ent)`
    `void` | `dbEntityRemoved(DbEntity ent)`
    `void` | `objEntityAdded(ObjEntity ent)`
    `void` | `objEntityRemoved(ObjEntity ent)`
    `boolean` | `overwriteDbEntity(DbEntity ent)` Returns true to tell DbLoader that it is OK to overwrite DbEntity that already exists in the model.

- - ### Method Detail

    - #### overwriteDbEntity

          boolean overwriteDbEntity(DbEntity ent)
                                    throws CayenneException

      Returns true to tell DbLoader that it is OK to overwrite DbEntity that already exists in the model. If loading process should be stopped immediately, an exception is thrown.
      Throws:
        `CayenneException`

    - #### dbEntityAdded

          void dbEntityAdded(DbEntity ent)

    - #### dbEntityRemoved

          void dbEntityRemoved(DbEntity ent)

    - #### objEntityAdded

          void objEntityAdded(ObjEntity ent)

    - #### objEntityRemoved

          void objEntityRemoved(ObjEntity ent)

Copyright © 2001–2014 Apache Cayenne. All rights reserved.