public enum SqlStatementType extends Enum<SqlStatementType>
Enum Constant and Description |
---|
callable
The callable.
|
prepared
The prepared.
|
Modifier and Type | Field and Description |
---|---|
static String |
CALLABLE_STATEMENT
CALLABLE_STATEMENT.
|
static String |
PREPARED_STATEMENT
PREPARED_STATEMENT.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsStr(String value) |
static SqlStatementType |
parse(String value)
Parse string and return SqlStatementType.
|
String |
toString() |
static SqlStatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlStatementType prepared
public static final SqlStatementType callable
public static final String PREPARED_STATEMENT
public static final String CALLABLE_STATEMENT
public static SqlStatementType[] values()
for (SqlStatementType c : SqlStatementType.values()) System.out.println(c);
public static SqlStatementType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SqlStatementType parse(String value)
value
- the valuepublic boolean equalsStr(String value)
public String toString()
toString
in class Enum<SqlStatementType>
Copyright © 2010-2020 Toolsverse. All Rights Reserved.