org.apache.cayenne.map.event

## Interface ObjEntityListener

- All Superinterfaces:
    EventListener
  All Known Implementing Classes:
    DataMap, ObjEntity

      public interface ObjEntityListener
      extends EventListener

  For managing the changes in the ObjEntity

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `objEntityAdded(EntityEvent e)` New entity has been created/added.
    `void` | `objEntityChanged(EntityEvent e)` Entity property changed.
    `void` | `objEntityRemoved(EntityEvent e)` Entity has been removed.

- - ### Method Detail

    - #### objEntityChanged

          void objEntityChanged(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.

    - #### objEntityAdded

          void objEntityAdded(EntityEvent e)

      New entity has been created/added.

    - #### objEntityRemoved

          void objEntityRemoved(EntityEvent e)

      Entity has been removed.

Copyright © 2001–2018 Apache Cayenne. All rights reserved.