|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityListener
Defines 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>
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
PrePersist getPrePersist()
PrePersistvoid setPrePersist(PrePersist value)
value - allowed object is
PrePersistPostPersist getPostPersist()
PostPersistvoid setPostPersist(PostPersist value)
value - allowed object is
PostPersistPreRemove getPreRemove()
PreRemovevoid setPreRemove(PreRemove value)
value - allowed object is
PreRemovePostRemove getPostRemove()
PostRemovevoid setPostRemove(PostRemove value)
value - allowed object is
PostRemovePreUpdate getPreUpdate()
PreUpdatevoid setPreUpdate(PreUpdate value)
value - allowed object is
PreUpdatePostUpdate getPostUpdate()
PostUpdatevoid setPostUpdate(PostUpdate value)
value - allowed object is
PostUpdatePostLoad getPostLoad()
PostLoadvoid setPostLoad(PostLoad value)
value - allowed object is
PostLoadString getClazz()
Stringvoid setClazz(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||