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.
 
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-2011 Apache Cayenne. All Rights Reserved.