|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IdentifierRole>
org.eclipse.persistence.jpa.jpql.parser.IdentifierRole
public enum IdentifierRole
A role describes the purpose of the JPQL identifier.
| Enum Constant Summary | |
|---|---|
AGGREGATE
Indicates the identifier aggregates two expressions together. |
|
CLAUSE
Indicates the identifier is used to create a clause. |
|
COMPLETEMENT
Indicates the identifier is used to complement an expression, it is not required for creating an expression. |
|
COMPOUND_FUNCTION
Indicates the identifier is kind of a function, it does not return a value but it is used to perform some operation over some expression. |
|
FUNCTION
Indicates the identifier is used to create a function, it has some parameters and returns a value. |
|
UNUSED
Indicates the identifier is not part of the language but it has been reserved for future use. |
|
| Method Summary | |
|---|---|
static IdentifierRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IdentifierRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IdentifierRole AGGREGATE
public static final IdentifierRole CLAUSE
public static final IdentifierRole COMPLETEMENT
public static final IdentifierRole COMPOUND_FUNCTION
public static final IdentifierRole FUNCTION
Note: TRUE, FALSE, NULL, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP are considered functions.
public static final IdentifierRole UNUSED
| Method Detail |
|---|
public static IdentifierRole[] values()
for (IdentifierRole c : IdentifierRole.values()) System.out.println(c);
public static IdentifierRole valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||