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