org.apache.cayenne.map.event
Interface ObjEntityListener

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

public interface ObjEntityListener
extends EventListener

For managing the changes in the ObjEntity


Method Summary
 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-2011 Apache Cayenne. All Rights Reserved.