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 entity)
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 entity)
dbEntityRemoved
void dbEntityRemoved(DbEntity entity)
objEntityAdded
void objEntityAdded(ObjEntity entity)
objEntityRemoved
void objEntityRemoved(ObjEntity entity)
Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.