Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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 Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 Apache Cayenne. All Rights Reserved.