|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<IdentifierRole>
org.eclipse.persistence.jpa.internal.jpql.parser.IdentifierRole
public enum IdentifierRole
A role describes the purpose of the JPQL identifier. To retrieve the role of an identifier, one can use AbstractExpression.identifierRole(String) where the string is the identifier.
| Enum Constant Summary | |
|---|---|
AGGREGATEIndicates the identifier aggregates two expressions together. |
|
CLAUSEIndicates the identifier is used to create a clause. |
|
COMPLETEMENTIndicates the identifier is used to complement an expression, it is not required for creating an expression. |
|
COMPOUND_FUNCTIONIndicates the identifier is kind of a function, it does not return a value but it is used to perform some operation over some expression. |
|
FUNCTIONIndicates the identifier is used to create a function, it has some parameters and returns a value. |
|
UNUSEDIndicates 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 namejava.lang.NullPointerException - if the argument is null
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||