Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2009 Apache Cayenne. All Rights Reserved.