org.apache.cayenne.map
Class EntityListener
java.lang.Object
   org.apache.cayenne.map.EntityListener
org.apache.cayenne.map.EntityListener
- All Implemented Interfaces: 
- Serializable, XMLSerializable
- public class EntityListener 
- extends Object- implements Serializable, XMLSerializable
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
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
className
protected String className
callbacks
protected CallbackMap callbacks
EntityListener
public EntityListener()
EntityListener
public EntityListener(String className)
getClassName
public String getClassName()
- 
 
- 
 
setClassName
public void setClassName(String className)
- 
 
- 
 
getCallbackMap
public CallbackMap getCallbackMap()
- Returns an object that stores callback methods of this listener.
 
- 
 
- 
- Returns:
- callback map
 
encodeAsXML
public void encodeAsXML(XMLEncoder encoder)
- Description copied from interface: XMLSerializable
- Prints itself as XML to the provided XMLEncoder.
 
- 
- Specified by:
- encodeAsXMLin interface- XMLSerializable
 
- 
 
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.