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