org.apache.cayenne.map
Class EntityListener

java.lang.Object
  extended by org.apache.cayenne.map.EntityListener
All Implemented Interfaces:
Serializable

public class EntityListener
extends Object
implements Serializable

A mapping descriptor of an entity listener class that declares one or more callback methods to be notified of the entity events.

Since:
3.0
Author:
Andrus Adamchik
See Also:
Serialized Form

Field Summary
protected  CallbackMap callbacks
           
protected  String className
           
 
Constructor Summary
EntityListener()
           
EntityListener(String className)
           
 
Method Summary
 CallbackMap getCallbackMap()
          Returns an object that stores callback methods of this listener.
 String getClassName()
           
 void setClassName(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected String className

callbacks

protected CallbackMap callbacks
Constructor Detail

EntityListener

public EntityListener()

EntityListener

public EntityListener(String className)
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getCallbackMap

public CallbackMap getCallbackMap()
Returns an object that stores callback methods of this listener.



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