[#6971] Added missing class

This commit is contained in:
lukaseder 2019-04-10 14:40:37 +02:00
parent 320b7a5b85
commit 5832e45eaf

View File

@ -0,0 +1,47 @@
package org.jooq.meta.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for OnError.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="OnError"&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;enumeration value="FAIL"/&gt;
* &lt;enumeration value="LOG"/&gt;
* &lt;enumeration value="SILENT"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* </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);
}
}