Class JaxbEntityListenerImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbEntityListenerImpl
- All Implemented Interfaces:
Serializable,JaxbLifecycleCallbackContainer
public class JaxbEntityListenerImpl
extends Object
implements Serializable, JaxbLifecycleCallbackContainer
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="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 JaxbPostLoadImplprotected JaxbPostPersistImplprotected JaxbPostRemoveImplprotected JaxbPostUpdateImplprotected JaxbPrePersistImplprotected JaxbPreRemoveImplprotected JaxbPreUpdateImpl -
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(JaxbPostLoadImpl value) Sets the value of the postLoad property.voidSets the value of the postPersist property.voidsetPostRemove(JaxbPostRemoveImpl value) Sets the value of the postRemove property.voidsetPostUpdate(JaxbPostUpdateImpl value) Sets the value of the postUpdate property.voidsetPrePersist(JaxbPrePersistImpl value) Sets the value of the prePersist property.voidsetPreRemove(JaxbPreRemoveImpl value) Sets the value of the preRemove property.voidsetPreUpdate(JaxbPreUpdateImpl value) Sets the value of the preUpdate property.
-
Field Details
-
description
-
prePersist
-
postPersist
-
preRemove
-
postRemove
-
preUpdate
-
postUpdate
-
postLoad
-
clazz
-
-
Constructor Details
-
JaxbEntityListenerImpl
public JaxbEntityListenerImpl()
-
-
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 interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPrePersistImpl
-
setPrePersist
Sets the value of the prePersist property.- Specified by:
setPrePersistin interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPrePersistImpl
-
getPostPersist
Gets the value of the postPersist property.- Specified by:
getPostPersistin interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostPersistImpl
-
setPostPersist
Sets the value of the postPersist property.- Specified by:
setPostPersistin interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostPersistImpl
-
getPreRemove
Gets the value of the preRemove property.- Specified by:
getPreRemovein interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreRemoveImpl
-
setPreRemove
Sets the value of the preRemove property.- Specified by:
setPreRemovein interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreRemoveImpl
-
getPostRemove
Gets the value of the postRemove property.- Specified by:
getPostRemovein interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostRemoveImpl
-
setPostRemove
Sets the value of the postRemove property.- Specified by:
setPostRemovein interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostRemoveImpl
-
getPreUpdate
Gets the value of the preUpdate property.- Specified by:
getPreUpdatein interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPreUpdateImpl
-
setPreUpdate
Sets the value of the preUpdate property.- Specified by:
setPreUpdatein interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPreUpdateImpl
-
getPostUpdate
Gets the value of the postUpdate property.- Specified by:
getPostUpdatein interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostUpdateImpl
-
setPostUpdate
Sets the value of the postUpdate property.- Specified by:
setPostUpdatein interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostUpdateImpl
-
getPostLoad
Gets the value of the postLoad property.- Specified by:
getPostLoadin interfaceJaxbLifecycleCallbackContainer- Returns:
- possible object is
JaxbPostLoadImpl
-
setPostLoad
Sets the value of the postLoad property.- Specified by:
setPostLoadin interfaceJaxbLifecycleCallbackContainer- Parameters:
value- allowed object isJaxbPostLoadImpl
-
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
-