public enum QueryLanguage extends Enum<QueryLanguage>
| Enum Constant and Description |
|---|
JDOQL |
JPQL |
SQL |
STOREDPROC |
| Modifier and Type | Method and Description |
|---|---|
static QueryLanguage |
getQueryLanguage(String value)
Return QueryLanguage from String.
|
static QueryLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryLanguage JDOQL
public static final QueryLanguage SQL
public static final QueryLanguage JPQL
public static final QueryLanguage STOREDPROC
public static QueryLanguage[] values()
for (QueryLanguage c : QueryLanguage.values()) System.out.println(c);
public static QueryLanguage 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 QueryLanguage getQueryLanguage(String value)
value - identity-type attribute valueCopyright © 2017. All rights reserved.