org.apache.cayenne.jpa.map
Class JpaLifecycleCallback

java.lang.Object
  extended by org.apache.cayenne.jpa.map.JpaLifecycleCallback
All Implemented Interfaces:
XMLSerializable

public class JpaLifecycleCallback
extends Object
implements XMLSerializable


Field Summary
protected  String methodName
           
 
Constructor Summary
JpaLifecycleCallback()
           
JpaLifecycleCallback(String methodName)
           
 
Method Summary
 void encodeAsXML(XMLEncoder encoder)
          Prints itself as XML to the provided XMLEncoder.
 String getMethodName()
           
 void setMethodName(String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodName

protected String methodName
Constructor Detail

JpaLifecycleCallback

public JpaLifecycleCallback()

JpaLifecycleCallback

public JpaLifecycleCallback(String methodName)
Method Detail

encodeAsXML

public void encodeAsXML(XMLEncoder encoder)
Description copied from interface: XMLSerializable
Prints itself as XML to the provided XMLEncoder.

Specified by:
encodeAsXML in interface XMLSerializable

getMethodName

public String getMethodName()

setMethodName

public void setMethodName(String methodName)


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