|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jpaxjc.ns.persistence.orm.EntityListener
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class EntityListenerDefines an entity listener to be invoked at lifecycle events for the entities that list this listener.
Java class for entity-listener complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entity-listener">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pre-persist" type="{http://java.sun.com/xml/ns/persistence/orm}pre-persist" minOccurs="0"/>
<element name="post-persist" type="{http://java.sun.com/xml/ns/persistence/orm}post-persist" minOccurs="0"/>
<element name="pre-remove" type="{http://java.sun.com/xml/ns/persistence/orm}pre-remove" minOccurs="0"/>
<element name="post-remove" type="{http://java.sun.com/xml/ns/persistence/orm}post-remove" minOccurs="0"/>
<element name="pre-update" type="{http://java.sun.com/xml/ns/persistence/orm}pre-update" minOccurs="0"/>
<element name="post-update" type="{http://java.sun.com/xml/ns/persistence/orm}post-update" minOccurs="0"/>
<element name="post-load" type="{http://java.sun.com/xml/ns/persistence/orm}post-load" minOccurs="0"/>
</sequence>
<attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
clazz
|
protected PostLoad |
postLoad
|
protected PostPersist |
postPersist
|
protected PostRemove |
postRemove
|
protected PostUpdate |
postUpdate
|
protected PrePersist |
prePersist
|
protected PreRemove |
preRemove
|
protected PreUpdate |
preUpdate
|
| Constructor Summary | |
|---|---|
EntityListener()
Creates a new EntityListener instance. |
|
EntityListener(EntityListener o)
Creates a new EntityListener instance by deeply copying a given EntityListener instance. |
|
| Method Summary | |
|---|---|
EntityListener |
clone()
Creates and returns a deep copy of this object. |
String |
getClazz()
Gets the value of the clazz property. |
PostLoad |
getPostLoad()
Gets the value of the postLoad property. |
PostPersist |
getPostPersist()
Gets the value of the postPersist property. |
PostRemove |
getPostRemove()
Gets the value of the postRemove property. |
PostUpdate |
getPostUpdate()
Gets the value of the postUpdate property. |
PrePersist |
getPrePersist()
Gets the value of the prePersist property. |
PreRemove |
getPreRemove()
Gets the value of the preRemove property. |
PreUpdate |
getPreUpdate()
Gets the value of the preUpdate property. |
void |
setClazz(String value)
Sets the value of the clazz property. |
void |
setPostLoad(PostLoad value)
Sets the value of the postLoad property. |
void |
setPostPersist(PostPersist value)
Sets the value of the postPersist property. |
void |
setPostRemove(PostRemove value)
Sets the value of the postRemove property. |
void |
setPostUpdate(PostUpdate value)
Sets the value of the postUpdate property. |
void |
setPrePersist(PrePersist value)
Sets the value of the prePersist property. |
void |
setPreRemove(PreRemove value)
Sets the value of the preRemove property. |
void |
setPreUpdate(PreUpdate value)
Sets the value of the preUpdate property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PrePersist prePersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PostPersist postPersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PreRemove preRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PostRemove postRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PreUpdate preUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PostUpdate postUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected PostLoad postLoad
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String clazz
| Constructor Detail |
|---|
public EntityListener()
EntityListener instance.
public EntityListener(EntityListener o)
EntityListener instance by deeply copying a given EntityListener instance.
o - The instance to copy.
NullPointerException - if o is null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PrePersist getPrePersist()
PrePersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPrePersist(PrePersist value)
value - allowed object is
PrePersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PostPersist getPostPersist()
PostPersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPostPersist(PostPersist value)
value - allowed object is
PostPersist
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PreRemove getPreRemove()
PreRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPreRemove(PreRemove value)
value - allowed object is
PreRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PostRemove getPostRemove()
PostRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPostRemove(PostRemove value)
value - allowed object is
PostRemove
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PreUpdate getPreUpdate()
PreUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPreUpdate(PreUpdate value)
value - allowed object is
PreUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PostUpdate getPostUpdate()
PostUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPostUpdate(PostUpdate value)
value - allowed object is
PostUpdate
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public PostLoad getPostLoad()
PostLoad
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setPostLoad(PostLoad value)
value - allowed object is
PostLoad
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getClazz()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setClazz(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2010-08-18T10:46:56+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EntityListener clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||