001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2018.12.10 at 03:02:30 PM PST 
006//
007
008
009package org.microbean.jpa.jaxb;
010
011import javax.xml.bind.annotation.XmlAccessType;
012import javax.xml.bind.annotation.XmlAccessorType;
013import javax.xml.bind.annotation.XmlAttribute;
014import javax.xml.bind.annotation.XmlElement;
015import javax.xml.bind.annotation.XmlType;
016
017
018/**
019 * 
020 * 
021 *         Defines an entity listener to be invoked at lifecycle events
022 *         for the entities that list this listener.
023 * 
024 *       
025 * 
026 * <p>Java class for entity-listener complex type.
027 * 
028 * <p>The following schema fragment specifies the expected content contained within this class.
029 * 
030 * <pre>
031 * &lt;complexType name="entity-listener"&gt;
032 *   &lt;complexContent&gt;
033 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
034 *       &lt;sequence&gt;
035 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
036 *         &lt;element name="pre-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-persist" minOccurs="0"/&gt;
037 *         &lt;element name="post-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-persist" minOccurs="0"/&gt;
038 *         &lt;element name="pre-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-remove" minOccurs="0"/&gt;
039 *         &lt;element name="post-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-remove" minOccurs="0"/&gt;
040 *         &lt;element name="pre-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}pre-update" minOccurs="0"/&gt;
041 *         &lt;element name="post-update" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-update" minOccurs="0"/&gt;
042 *         &lt;element name="post-load" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}post-load" minOccurs="0"/&gt;
043 *       &lt;/sequence&gt;
044 *       &lt;attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
045 *     &lt;/restriction&gt;
046 *   &lt;/complexContent&gt;
047 * &lt;/complexType&gt;
048 * </pre>
049 * 
050 * 
051 */
052@XmlAccessorType(XmlAccessType.FIELD)
053@XmlType(name = "entity-listener", propOrder = {
054    "description",
055    "prePersist",
056    "postPersist",
057    "preRemove",
058    "postRemove",
059    "preUpdate",
060    "postUpdate",
061    "postLoad"
062})
063public class EntityListener {
064
065    protected String description;
066    @XmlElement(name = "pre-persist")
067    protected PrePersist prePersist;
068    @XmlElement(name = "post-persist")
069    protected PostPersist postPersist;
070    @XmlElement(name = "pre-remove")
071    protected PreRemove preRemove;
072    @XmlElement(name = "post-remove")
073    protected PostRemove postRemove;
074    @XmlElement(name = "pre-update")
075    protected PreUpdate preUpdate;
076    @XmlElement(name = "post-update")
077    protected PostUpdate postUpdate;
078    @XmlElement(name = "post-load")
079    protected PostLoad postLoad;
080    @XmlAttribute(name = "class", required = true)
081    protected String clazz;
082
083    /**
084     * Gets the value of the description property.
085     * 
086     * @return
087     *     possible object is
088     *     {@link String }
089     *     
090     */
091    public String getDescription() {
092        return description;
093    }
094
095    /**
096     * Sets the value of the description property.
097     * 
098     * @param value
099     *     allowed object is
100     *     {@link String }
101     *     
102     */
103    public void setDescription(String value) {
104        this.description = value;
105    }
106
107    /**
108     * Gets the value of the prePersist property.
109     * 
110     * @return
111     *     possible object is
112     *     {@link PrePersist }
113     *     
114     */
115    public PrePersist getPrePersist() {
116        return prePersist;
117    }
118
119    /**
120     * Sets the value of the prePersist property.
121     * 
122     * @param value
123     *     allowed object is
124     *     {@link PrePersist }
125     *     
126     */
127    public void setPrePersist(PrePersist value) {
128        this.prePersist = value;
129    }
130
131    /**
132     * Gets the value of the postPersist property.
133     * 
134     * @return
135     *     possible object is
136     *     {@link PostPersist }
137     *     
138     */
139    public PostPersist getPostPersist() {
140        return postPersist;
141    }
142
143    /**
144     * Sets the value of the postPersist property.
145     * 
146     * @param value
147     *     allowed object is
148     *     {@link PostPersist }
149     *     
150     */
151    public void setPostPersist(PostPersist value) {
152        this.postPersist = value;
153    }
154
155    /**
156     * Gets the value of the preRemove property.
157     * 
158     * @return
159     *     possible object is
160     *     {@link PreRemove }
161     *     
162     */
163    public PreRemove getPreRemove() {
164        return preRemove;
165    }
166
167    /**
168     * Sets the value of the preRemove property.
169     * 
170     * @param value
171     *     allowed object is
172     *     {@link PreRemove }
173     *     
174     */
175    public void setPreRemove(PreRemove value) {
176        this.preRemove = value;
177    }
178
179    /**
180     * Gets the value of the postRemove property.
181     * 
182     * @return
183     *     possible object is
184     *     {@link PostRemove }
185     *     
186     */
187    public PostRemove getPostRemove() {
188        return postRemove;
189    }
190
191    /**
192     * Sets the value of the postRemove property.
193     * 
194     * @param value
195     *     allowed object is
196     *     {@link PostRemove }
197     *     
198     */
199    public void setPostRemove(PostRemove value) {
200        this.postRemove = value;
201    }
202
203    /**
204     * Gets the value of the preUpdate property.
205     * 
206     * @return
207     *     possible object is
208     *     {@link PreUpdate }
209     *     
210     */
211    public PreUpdate getPreUpdate() {
212        return preUpdate;
213    }
214
215    /**
216     * Sets the value of the preUpdate property.
217     * 
218     * @param value
219     *     allowed object is
220     *     {@link PreUpdate }
221     *     
222     */
223    public void setPreUpdate(PreUpdate value) {
224        this.preUpdate = value;
225    }
226
227    /**
228     * Gets the value of the postUpdate property.
229     * 
230     * @return
231     *     possible object is
232     *     {@link PostUpdate }
233     *     
234     */
235    public PostUpdate getPostUpdate() {
236        return postUpdate;
237    }
238
239    /**
240     * Sets the value of the postUpdate property.
241     * 
242     * @param value
243     *     allowed object is
244     *     {@link PostUpdate }
245     *     
246     */
247    public void setPostUpdate(PostUpdate value) {
248        this.postUpdate = value;
249    }
250
251    /**
252     * Gets the value of the postLoad property.
253     * 
254     * @return
255     *     possible object is
256     *     {@link PostLoad }
257     *     
258     */
259    public PostLoad getPostLoad() {
260        return postLoad;
261    }
262
263    /**
264     * Sets the value of the postLoad property.
265     * 
266     * @param value
267     *     allowed object is
268     *     {@link PostLoad }
269     *     
270     */
271    public void setPostLoad(PostLoad value) {
272        this.postLoad = value;
273    }
274
275    /**
276     * Gets the value of the clazz property.
277     * 
278     * @return
279     *     possible object is
280     *     {@link String }
281     *     
282     */
283    public String getClazz() {
284        return clazz;
285    }
286
287    /**
288     * Sets the value of the clazz property.
289     * 
290     * @param value
291     *     allowed object is
292     *     {@link String }
293     *     
294     */
295    public void setClazz(String value) {
296        this.clazz = value;
297    }
298
299}