Package org.hibernate.boot.jaxb.mapping
Class JaxbEntityListener
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbEntityListener
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected JaxbPostLoadprotected JaxbPostPersistprotected JaxbPostRemoveprotected JaxbPostUpdateprotected JaxbPrePersistprotected JaxbPreRemoveprotected JaxbPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClazz()Gets the value of the clazz property.Gets the value of the description property.Gets the value of the postLoad property.Gets the value of the postPersist property.Gets the value of the postRemove property.Gets the value of the postUpdate property.Gets the value of the prePersist property.Gets the value of the preRemove property.Gets the value of the preUpdate property.voidSets the value of the clazz property.voidsetDescription(String value) Sets the value of the description property.voidsetPostLoad(JaxbPostLoad value) Sets the value of the postLoad property.voidsetPostPersist(JaxbPostPersist value) Sets the value of the postPersist property.voidsetPostRemove(JaxbPostRemove value) Sets the value of the postRemove property.voidsetPostUpdate(JaxbPostUpdate value) Sets the value of the postUpdate property.voidsetPrePersist(JaxbPrePersist value) Sets the value of the prePersist property.voidsetPreRemove(JaxbPreRemove value) Sets the value of the preRemove property.voidsetPreUpdate(JaxbPreUpdate value) Sets the value of the preUpdate property.
-
Field Details
-
description
-
prePersist
-
postPersist
-
preRemove
-
postRemove
-
preUpdate
-
postUpdate
-
postLoad
-
clazz
-
-
Constructor Details
-
JaxbEntityListener
public JaxbEntityListener()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPrePersist
Gets the value of the prePersist property.- Specified by:
getPrePersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPrePersist
-
setPrePersist
Sets the value of the prePersist property.- Specified by:
setPrePersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPrePersist
-
getPostPersist
Gets the value of the postPersist property.- Specified by:
getPostPersistin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostPersist
-
setPostPersist
Sets the value of the postPersist property.- Specified by:
setPostPersistin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostPersist
-
getPreRemove
Gets the value of the preRemove property.- Specified by:
getPreRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreRemove
-
setPreRemove
Sets the value of the preRemove property.- Specified by:
setPreRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreRemove
-
getPostRemove
Gets the value of the postRemove property.- Specified by:
getPostRemovein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostRemove
-
setPostRemove
Sets the value of the postRemove property.- Specified by:
setPostRemovein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostRemove
-
getPreUpdate
Gets the value of the preUpdate property.- Specified by:
getPreUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreUpdate
-
setPreUpdate
Sets the value of the preUpdate property.- Specified by:
setPreUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreUpdate
-
getPostUpdate
Gets the value of the postUpdate property.- Specified by:
getPostUpdatein interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostUpdate
-
setPostUpdate
Sets the value of the postUpdate property.- Specified by:
setPostUpdatein interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostUpdate
-
getPostLoad
Gets the value of the postLoad property.- Specified by:
getPostLoadin interfaceLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostLoad
-
setPostLoad
Sets the value of the postLoad property.- Specified by:
setPostLoadin interfaceLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostLoad
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-