package org.jooq.meta.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
Java class for OnError.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OnError">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FAIL"/>
<enumeration value="LOG"/>
<enumeration value="SILENT"/>
</restriction>
</simpleType>
/**
* <p>Java class for OnError.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="OnError">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FAIL"/>
* <enumeration value="LOG"/>
* <enumeration value="SILENT"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "OnError")
@XmlEnum
public enum OnError {
FAIL,
LOG,
SILENT;
public String value() {
return name();
}
public static OnError fromValue(String v) {
return valueOf(v);
}
}