Package org.hibernate.boot.jaxb.mapping
Class JaxbEntityListener
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbEntityListener
-
- All Implemented Interfaces:
Serializable
,LifecycleCallbackContainer
public class JaxbEntityListener extends Object implements Serializable, LifecycleCallbackContainer
See `@jakarta.persistence.PrePersist` See `@jakarta.persistence.PreRemove` See `@jakarta.persistence.PreUpdate` See `@jakarta.persistence.PostPersist` See `@jakarta.persistence.PostRemove` See `@jakarta.persistence.PostUpdate` See `@jakarta.persistence.PostLoad`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://www.hibernate.org/xsd/orm/mapping}pre-persist" minOccurs="0"/> <element name="post-persist" type="{http://www.hibernate.org/xsd/orm/mapping}post-persist" minOccurs="0"/> <element name="pre-remove" type="{http://www.hibernate.org/xsd/orm/mapping}pre-remove" minOccurs="0"/> <element name="post-remove" type="{http://www.hibernate.org/xsd/orm/mapping}post-remove" minOccurs="0"/> <element name="pre-update" type="{http://www.hibernate.org/xsd/orm/mapping}pre-update" minOccurs="0"/> <element name="post-update" type="{http://www.hibernate.org/xsd/orm/mapping}post-update" minOccurs="0"/> <element name="post-load" type="{http://www.hibernate.org/xsd/orm/mapping}post-load" minOccurs="0"/> </sequence> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
clazz
protected String
description
protected JaxbPostLoad
postLoad
protected JaxbPostPersist
postPersist
protected JaxbPostRemove
postRemove
protected JaxbPostUpdate
postUpdate
protected JaxbPrePersist
prePersist
protected JaxbPreRemove
preRemove
protected JaxbPreUpdate
preUpdate
-
Constructor Summary
Constructors Constructor Description JaxbEntityListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClazz()
Gets the value of the clazz property.String
getDescription()
Gets the value of the description property.JaxbPostLoad
getPostLoad()
Gets the value of the postLoad property.JaxbPostPersist
getPostPersist()
Gets the value of the postPersist property.JaxbPostRemove
getPostRemove()
Gets the value of the postRemove property.JaxbPostUpdate
getPostUpdate()
Gets the value of the postUpdate property.JaxbPrePersist
getPrePersist()
Gets the value of the prePersist property.JaxbPreRemove
getPreRemove()
Gets the value of the preRemove property.JaxbPreUpdate
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(JaxbPostLoad value)
Sets the value of the postLoad property.void
setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property.void
setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property.void
setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property.void
setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property.void
setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property.void
setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property.
-
-
-
Field Detail
-
description
protected String description
-
prePersist
protected JaxbPrePersist prePersist
-
postPersist
protected JaxbPostPersist postPersist
-
preRemove
protected JaxbPreRemove preRemove
-
postRemove
protected JaxbPostRemove postRemove
-
preUpdate
protected JaxbPreUpdate preUpdate
-
postUpdate
protected JaxbPostUpdate postUpdate
-
postLoad
protected JaxbPostLoad postLoad
-
clazz
protected String clazz
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getPrePersist
public JaxbPrePersist getPrePersist()
Gets the value of the prePersist property.- Specified by:
getPrePersist
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPrePersist
-
setPrePersist
public void setPrePersist(JaxbPrePersist value)
Sets the value of the prePersist property.- Specified by:
setPrePersist
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPrePersist
-
getPostPersist
public JaxbPostPersist getPostPersist()
Gets the value of the postPersist property.- Specified by:
getPostPersist
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostPersist
-
setPostPersist
public void setPostPersist(JaxbPostPersist value)
Sets the value of the postPersist property.- Specified by:
setPostPersist
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostPersist
-
getPreRemove
public JaxbPreRemove getPreRemove()
Gets the value of the preRemove property.- Specified by:
getPreRemove
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPreRemove
-
setPreRemove
public void setPreRemove(JaxbPreRemove value)
Sets the value of the preRemove property.- Specified by:
setPreRemove
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPreRemove
-
getPostRemove
public JaxbPostRemove getPostRemove()
Gets the value of the postRemove property.- Specified by:
getPostRemove
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostRemove
-
setPostRemove
public void setPostRemove(JaxbPostRemove value)
Sets the value of the postRemove property.- Specified by:
setPostRemove
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostRemove
-
getPreUpdate
public JaxbPreUpdate getPreUpdate()
Gets the value of the preUpdate property.- Specified by:
getPreUpdate
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPreUpdate
-
setPreUpdate
public void setPreUpdate(JaxbPreUpdate value)
Sets the value of the preUpdate property.- Specified by:
setPreUpdate
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPreUpdate
-
getPostUpdate
public JaxbPostUpdate getPostUpdate()
Gets the value of the postUpdate property.- Specified by:
getPostUpdate
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostUpdate
-
setPostUpdate
public void setPostUpdate(JaxbPostUpdate value)
Sets the value of the postUpdate property.- Specified by:
setPostUpdate
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostUpdate
-
getPostLoad
public JaxbPostLoad getPostLoad()
Gets the value of the postLoad property.- Specified by:
getPostLoad
in interfaceLifecycleCallbackContainer
- Returns:
- possible object is
JaxbPostLoad
-
setPostLoad
public void setPostLoad(JaxbPostLoad value)
Sets the value of the postLoad property.- Specified by:
setPostLoad
in interfaceLifecycleCallbackContainer
- Parameters:
value
- allowed object isJaxbPostLoad
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
-