package org.ehcache.xml.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
Java class for event-firing-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="event-firing-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ASYNCHRONOUS"/>
<enumeration value="SYNCHRONOUS"/>
</restriction>
</simpleType>
/**
* <p>Java class for event-firing-type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="event-firing-type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ASYNCHRONOUS"/>
* <enumeration value="SYNCHRONOUS"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "event-firing-type")
@XmlEnum
public enum EventFiringType {
ASYNCHRONOUS,
SYNCHRONOUS;
public String value() {
return name();
}
public static EventFiringType fromValue(String v) {
return valueOf(v);
}
}