[jOOQ/jOOQ#8893] Add Settings.renderTable
This commit is contained in:
parent
64e04c617f
commit
f66897896b
41
jOOQ/src/main/java/org/jooq/conf/RenderTable.java
Normal file
41
jOOQ/src/main/java/org/jooq/conf/RenderTable.java
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
package org.jooq.conf;
|
||||
|
||||
import jakarta.xml.bind.annotation.XmlEnum;
|
||||
import jakarta.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for RenderTable.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <pre>
|
||||
* <simpleType name="RenderTable">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="ALWAYS"/>
|
||||
* <enumeration value="WHEN_MULTIPLE_TABLES"/>
|
||||
* <enumeration value="WHEN_AMBIGUOUS_COLUMNS"/>
|
||||
* <enumeration value="NEVER"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "RenderTable")
|
||||
@XmlEnum
|
||||
public enum RenderTable {
|
||||
|
||||
ALWAYS,
|
||||
WHEN_MULTIPLE_TABLES,
|
||||
WHEN_AMBIGUOUS_COLUMNS,
|
||||
NEVER;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static RenderTable fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user