Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.jpa.map
Class JpaEntityListener

    java.lang.Object
      org.apache.cayenne.jpa.map.JpaEntityListener

All Implemented Interfaces:
  XMLSerializable

    public class JpaEntityListener

extends Object
implements XMLSerializable

Field Summary
`protected String` | `className`
`protected JpaLifecycleCallback` | `postLoad`
`protected JpaLifecycleCallback` | `postPersist`
`protected JpaLifecycleCallback` | `postRemove`
`protected JpaLifecycleCallback` | `postUpdate`
`protected JpaLifecycleCallback` | `prePersist`
`protected JpaLifecycleCallback` | `preRemove`
`protected JpaLifecycleCallback` | `preUpdate`

Constructor Summary
`JpaEntityListener()`

Method Summary
`void` | `encodeAsXML(XMLEncoder encoder)` Prints itself as XML to the provided XMLEncoder.
`String` | `getClassName()`
`JpaLifecycleCallback` | `getPostLoad()`
`JpaLifecycleCallback` | `getPostPersist()`
`JpaLifecycleCallback` | `getPostRemove()`
`JpaLifecycleCallback` | `getPostUpdate()`
`JpaLifecycleCallback` | `getPrePersist()`
`JpaLifecycleCallback` | `getPreRemove()`
`JpaLifecycleCallback` | `getPreUpdate()`
`void` | `setClassName(String className)`
`void` | `setPostLoad(JpaLifecycleCallback postLoad)`
`void` | `setPostPersist(JpaLifecycleCallback postPersist)`
`void` | `setPostRemove(JpaLifecycleCallback postRemove)`
`void` | `setPostUpdate(JpaLifecycleCallback postUpdate)`
`void` | `setPrePersist(JpaLifecycleCallback prePersist)`
`void` | `setPreRemove(JpaLifecycleCallback preRemove)`
`void` | `setPreUpdate(JpaLifecycleCallback preUpdate)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### className

    protected String className

### prePersist

    protected JpaLifecycleCallback prePersist

### postPersist

    protected JpaLifecycleCallback postPersist

### preRemove

    protected JpaLifecycleCallback preRemove

### postRemove

    protected JpaLifecycleCallback postRemove

### preUpdate

    protected JpaLifecycleCallback preUpdate

### postUpdate

    protected JpaLifecycleCallback postUpdate

### postLoad

    protected JpaLifecycleCallback postLoad

Constructor Detail

### JpaEntityListener

    public JpaEntityListener()

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`

### getPostLoad

    public JpaLifecycleCallback getPostLoad()

### setPostLoad

    public void setPostLoad(JpaLifecycleCallback postLoad)

### getPostPersist

    public JpaLifecycleCallback getPostPersist()

### setPostPersist

    public void setPostPersist(JpaLifecycleCallback postPersist)

### getPostRemove

    public JpaLifecycleCallback getPostRemove()

### setPostRemove

    public void setPostRemove(JpaLifecycleCallback postRemove)

### getPostUpdate

    public JpaLifecycleCallback getPostUpdate()

### setPostUpdate

    public void setPostUpdate(JpaLifecycleCallback postUpdate)

### getPrePersist

    public JpaLifecycleCallback getPrePersist()

### setPrePersist

    public void setPrePersist(JpaLifecycleCallback prePersist)

### getPreRemove

    public JpaLifecycleCallback getPreRemove()

### setPreRemove

    public void setPreRemove(JpaLifecycleCallback preRemove)

### getPreUpdate

    public JpaLifecycleCallback getPreUpdate()

### setPreUpdate

    public void setPreUpdate(JpaLifecycleCallback preUpdate)

### getClassName

    public String getClassName()

### setClassName

    public void setClassName(String className)

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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