Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
Enum Class UpsertAssemblerSupport.TableNameType
java.lang.Object
java.lang.Enum<UpsertAssemblerSupport.TableNameType>
org.seasar.doma.jdbc.query.UpsertAssemblerSupport.TableNameType
- All Implemented Interfaces:
Serializable,Comparable<UpsertAssemblerSupport.TableNameType>,Constable
- Enclosing class:
- UpsertAssemblerSupport
public static enum UpsertAssemblerSupport.TableNameType
extends Enum<UpsertAssemblerSupport.TableNameType>
Enum representing different ways to format table names in SQL statements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse only the alias.Use "as alias" format.Use only the table name.Use "name alias" format.Use "name as alias" format. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static UpsertAssemblerSupport.TableNameType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
Use only the table name. -
ALIAS
Use only the alias. -
AS_ALIAS
Use "as alias" format. -
NAME_ALIAS
Use "name alias" format. -
NAME_AS_ALIAS
Use "name as alias" format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-