- java.lang.Object
-
- java.lang.Enum<Name.Quoted>
-
- org.jooq.Name.Quoted
-
- All Implemented Interfaces:
Serializable
,Comparable<Name.Quoted>
- Enclosing interface:
- Name
public static enum Name.Quoted extends Enum<Name.Quoted>
A flag indicating whether the name is quoted or not.Quoting of names can be overridden by
Settings.getRenderQuotedNames()
.- Author:
- Lukas Eder
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
The name is not quoted explicitly.MIXED
TheName.qualified()
name has mixed values for individualName.quoted()
flags.QUOTED
The name is explicitly quoted.UNQUOTED
The name is explicitly not quoted.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Name.Quoted
valueOf(String name)
Returns the enum constant of this type with the specified name.static Name.Quoted[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUOTED
public static final Name.Quoted QUOTED
The name is explicitly quoted.
-
UNQUOTED
public static final Name.Quoted UNQUOTED
The name is explicitly not quoted.
-
DEFAULT
public static final Name.Quoted DEFAULT
The name is not quoted explicitly.The behaviour of this name's quoting is governed by
RenderQuotedNames.EXPLICIT_DEFAULT_QUOTED
andRenderQuotedNames.EXPLICIT_DEFAULT_UNQUOTED
.
-
MIXED
public static final Name.Quoted MIXED
TheName.qualified()
name has mixed values for individualName.quoted()
flags.
-
-
Method Detail
-
values
public static Name.Quoted[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Name.Quoted c : Name.Quoted.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Name.Quoted valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-