[jOOQ/jOOQ#10937] Add Settings.renderDefaultNullability
This commit is contained in:
parent
53904a378d
commit
7ad4c81d76
@ -0,0 +1,40 @@
|
||||
|
||||
package org.jooq.conf;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for RenderDefaultNullability.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="RenderDefaultNullability">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="IMPLICIT_DEFAULT"/>
|
||||
* <enumeration value="IMPLICIT_NULL"/>
|
||||
* <enumeration value="EXPLICIT_NULL"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "RenderDefaultNullability")
|
||||
@XmlEnum
|
||||
public enum RenderDefaultNullability {
|
||||
|
||||
IMPLICIT_DEFAULT,
|
||||
IMPLICIT_NULL,
|
||||
EXPLICIT_NULL;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static RenderDefaultNullability fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user