org.hibernate.internal.jaxb.mapping.orm.JaxbEntityListener Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.05.28 at 02:02:04 PM PDT
//
package org.hibernate.internal.jaxb.mapping.orm;
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://java.sun.com/xml/ns/persistence/orm}pre-persist" minOccurs="0"/>
* <element name="post-persist" type="{http://java.sun.com/xml/ns/persistence/orm}post-persist" minOccurs="0"/>
* <element name="pre-remove" type="{http://java.sun.com/xml/ns/persistence/orm}pre-remove" minOccurs="0"/>
* <element name="post-remove" type="{http://java.sun.com/xml/ns/persistence/orm}post-remove" minOccurs="0"/>
* <element name="pre-update" type="{http://java.sun.com/xml/ns/persistence/orm}pre-update" minOccurs="0"/>
* <element name="post-update" type="{http://java.sun.com/xml/ns/persistence/orm}post-update" minOccurs="0"/>
* <element name="post-load" type="{http://java.sun.com/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", propOrder = {
"description",
"prePersist",
"postPersist",
"preRemove",
"postRemove",
"preUpdate",
"postUpdate",
"postLoad"
})
public class JaxbEntityListener {
protected String description;
@XmlElement(name = "pre-persist")
protected JaxbPrePersist prePersist;
@XmlElement(name = "post-persist")
protected JaxbPostPersist postPersist;
@XmlElement(name = "pre-remove")
protected JaxbPreRemove preRemove;
@XmlElement(name = "post-remove")
protected JaxbPostRemove postRemove;
@XmlElement(name = "pre-update")
protected JaxbPreUpdate preUpdate;
@XmlElement(name = "post-update")
protected JaxbPostUpdate postUpdate;
@XmlElement(name = "post-load")
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;
}
}