Package org.apache.cayenne.map.event

# Interface DbEntityListener

All Superinterfaces:
  `EventListener`

All Known Implementing Classes:
  `DataMap`, `DbEntity`

public interface DbEntityListener extends EventListener
Defines a listener for DbEntity modification events.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `dbEntityAdded(EntityEvent e)`
  New entity has been created/added.
  `void`
  `dbEntityChanged(EntityEvent e)`
  Entity property changed.
  `void`
  `dbEntityRemoved(EntityEvent e)`
  Entity has been removed.

- ## Method Details

  - ### dbEntityChanged

    void dbEntityChanged(EntityEvent e)
    Entity property changed. May be name, attribute or relationship added or removed, etc. Attribute and relationship property changes are handled in respective listeners.

  - ### dbEntityAdded

    void dbEntityAdded(EntityEvent e)
    New entity has been created/added.

  - ### dbEntityRemoved

    void dbEntityRemoved(EntityEvent e)
    Entity has been removed.