org.apache.cayenne.map.event
Interface DbEntityListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DataMap, DbEntity, DerivedDbEntity

public interface DbEntityListener
extends java.util.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.



Copyright © 2001-2006 Apache.org All Rights Reserved.