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 SummaryModifier 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- 
dbEntityChangedEntity property changed. May be name, attribute or relationship added or removed, etc. Attribute and relationship property changes are handled in respective listeners.
- 
dbEntityAddedNew entity has been created/added.
- 
dbEntityRemovedEntity has been removed.
 
-