All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.jaxb.mapping.spi.JaxbEntityListener Maven / Gradle / Ivy

There is a newer version: 6.5.0.CR2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.12.16 at 08:34:01 AM UTC 
//


package org.hibernate.boot.jaxb.mapping.spi;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 * 
 *                 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://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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "entity-listener", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm", propOrder = { "description", "prePersist", "postPersist", "preRemove", "postRemove", "preUpdate", "postUpdate", "postLoad" }) public class JaxbEntityListener implements Serializable, LifecycleCallbackContainer { @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected String description; @XmlElement(name = "pre-persist", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPrePersist prePersist; @XmlElement(name = "post-persist", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPostPersist postPersist; @XmlElement(name = "pre-remove", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPreRemove preRemove; @XmlElement(name = "post-remove", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPostRemove postRemove; @XmlElement(name = "pre-update", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPreUpdate preUpdate; @XmlElement(name = "post-update", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPostUpdate postUpdate; @XmlElement(name = "post-load", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbPostLoad postLoad; @XmlAttribute(name = "class", required = true) protected String clazz; /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the prePersist property. * * @return * possible object is * {@link JaxbPrePersist } * */ public JaxbPrePersist getPrePersist() { return prePersist; } /** * Sets the value of the prePersist property. * * @param value * allowed object is * {@link JaxbPrePersist } * */ public void setPrePersist(JaxbPrePersist value) { this.prePersist = value; } /** * Gets the value of the postPersist property. * * @return * possible object is * {@link JaxbPostPersist } * */ public JaxbPostPersist getPostPersist() { return postPersist; } /** * Sets the value of the postPersist property. * * @param value * allowed object is * {@link JaxbPostPersist } * */ public void setPostPersist(JaxbPostPersist value) { this.postPersist = value; } /** * Gets the value of the preRemove property. * * @return * possible object is * {@link JaxbPreRemove } * */ public JaxbPreRemove getPreRemove() { return preRemove; } /** * Sets the value of the preRemove property. * * @param value * allowed object is * {@link JaxbPreRemove } * */ public void setPreRemove(JaxbPreRemove value) { this.preRemove = value; } /** * Gets the value of the postRemove property. * * @return * possible object is * {@link JaxbPostRemove } * */ public JaxbPostRemove getPostRemove() { return postRemove; } /** * Sets the value of the postRemove property. * * @param value * allowed object is * {@link JaxbPostRemove } * */ public void setPostRemove(JaxbPostRemove value) { this.postRemove = value; } /** * Gets the value of the preUpdate property. * * @return * possible object is * {@link JaxbPreUpdate } * */ public JaxbPreUpdate getPreUpdate() { return preUpdate; } /** * Sets the value of the preUpdate property. * * @param value * allowed object is * {@link JaxbPreUpdate } * */ public void setPreUpdate(JaxbPreUpdate value) { this.preUpdate = value; } /** * Gets the value of the postUpdate property. * * @return * possible object is * {@link JaxbPostUpdate } * */ public JaxbPostUpdate getPostUpdate() { return postUpdate; } /** * Sets the value of the postUpdate property. * * @param value * allowed object is * {@link JaxbPostUpdate } * */ public void setPostUpdate(JaxbPostUpdate value) { this.postUpdate = value; } /** * Gets the value of the postLoad property. * * @return * possible object is * {@link JaxbPostLoad } * */ public JaxbPostLoad getPostLoad() { return postLoad; } /** * Sets the value of the postLoad property. * * @param value * allowed object is * {@link JaxbPostLoad } * */ public void setPostLoad(JaxbPostLoad value) { this.postLoad = value; } /** * Gets the value of the clazz property. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy