Package org.apache.cayenne.map.event
Interface DbEntityListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
DataMap,DbEntity,DetectedDbEntity
public interface DbEntityListener extends EventListener
Defines a listener for DbEntity modification events.
-
Method Summary
Modifier and Type Method Description voiddbEntityAdded(EntityEvent e)New entity has been created/added.voiddbEntityChanged(EntityEvent e)Entity property changed.voiddbEntityRemoved(EntityEvent e)Entity has been removed.
-
Method Details
-
dbEntityChanged
Entity property changed. May be name, attribute or relationship added or removed, etc. Attribute and relationship property changes are handled in respective listeners. -
dbEntityAdded
New entity has been created/added. -
dbEntityRemoved
Entity has been removed.
-