[#6971] Added missing class
This commit is contained in:
parent
320b7a5b85
commit
5832e45eaf
47
jOOQ-meta/src/main/java/org/jooq/meta/jaxb/OnError.java
Normal file
47
jOOQ-meta/src/main/java/org/jooq/meta/jaxb/OnError.java
Normal 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>
|
||||
* <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);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user