public class EntityListener extends Object
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="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="pre-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-persist" minOccurs="0"/>
<element name="post-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-persist" minOccurs="0"/>
<element name="pre-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-remove" minOccurs="0"/>
<element name="post-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-remove" minOccurs="0"/>
<element name="pre-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-update" minOccurs="0"/>
<element name="post-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-update" minOccurs="0"/>
<element name="post-load" type="{http://xmlns.jcp.org/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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
clazz |
protected String |
description |
protected PostLoad |
postLoad |
protected PostPersist |
postPersist |
protected PostRemove |
postRemove |
protected PostUpdate |
postUpdate |
protected PrePersist |
prePersist |
protected PreRemove |
preRemove |
protected PreUpdate |
preUpdate |
| Constructor and Description |
|---|
EntityListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getDescription()
Gets the value of the description 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 |
setDescription(String value)
Sets the value of the description 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.
|
protected String description
protected PrePersist prePersist
protected PostPersist postPersist
protected PostRemove postRemove
protected PostUpdate postUpdate
public EntityListener()
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic PrePersist getPrePersist()
PrePersistpublic void setPrePersist(PrePersist value)
value - allowed object is
PrePersistpublic PostPersist getPostPersist()
PostPersistpublic void setPostPersist(PostPersist value)
value - allowed object is
PostPersistpublic PreRemove getPreRemove()
PreRemovepublic void setPreRemove(PreRemove value)
value - allowed object is
PreRemovepublic PostRemove getPostRemove()
PostRemovepublic void setPostRemove(PostRemove value)
value - allowed object is
PostRemovepublic PreUpdate getPreUpdate()
PreUpdatepublic void setPreUpdate(PreUpdate value)
value - allowed object is
PreUpdatepublic PostUpdate getPostUpdate()
PostUpdatepublic void setPostUpdate(PostUpdate value)
value - allowed object is
PostUpdatepublic PostLoad getPostLoad()
PostLoadpublic void setPostLoad(PostLoad value)
value - allowed object is
PostLoadpublic String getClazz()
StringCopyright © 2018–2018, microBean. All rights reserved.