org.hibernate.boot.jaxb.cfg.spi.JaxbCfgEventListenerType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// 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: 2019.10.08 at 09:56:04 AM BST
//
package org.hibernate.boot.jaxb.cfg.spi;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for EventListenerType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EventListenerType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" type="{http://www.hibernate.org/xsd/orm/cfg}EventTypeEnum" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EventListenerType")
public class JaxbCfgEventListenerType {
@XmlAttribute(name = "class", required = true)
protected String clazz;
@XmlAttribute(name = "type")
protected JaxbCfgEventTypeEnum type;
/**
* 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;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link JaxbCfgEventTypeEnum }
*
*/
public JaxbCfgEventTypeEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link JaxbCfgEventTypeEnum }
*
*/
public void setType(JaxbCfgEventTypeEnum value) {
this.type = value;
}
}