|
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<LiteralType>
org.eclipse.persistence.jpa.internal.jpql.LiteralType
public enum LiteralType
Some Expression can have a "literal", this enumeration is used to visit an Expression and to retrieve the right value.
JPQLQueryContext.literal(Expression, LiteralType), LiteralVisitor| Enum Constant Summary | |
|---|---|
ABSTRACT_SCHEMA_NAMERetrieves the abstract schema name only. |
|
ENTITY_TYPERetrieves the entity type name only. |
|
IDENTIFICATION_VARIABLERetrieves an identification variable name only. |
|
INPUT_PARAMETERRetrieves the input parameter value. |
|
PATH_EXPRESSION_ALL_PATHRetrieves the entire state field path or collection-valued path expression. |
|
PATH_EXPRESSION_IDENTIFICATION_VARIABLERetrieves the identification variable name of a path expression. |
|
PATH_EXPRESSION_LAST_PATHRetrieves the last path of a state field path or collection-valued path expression. |
|
STRING_LITERALRetrieves the string literal only. |
|
| Method Summary | |
|---|---|
static LiteralType |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static LiteralType[] |
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 LiteralType ABSTRACT_SCHEMA_NAME
public static final LiteralType ENTITY_TYPE
public static final LiteralType IDENTIFICATION_VARIABLE
public static final LiteralType INPUT_PARAMETER
public static final LiteralType PATH_EXPRESSION_ALL_PATH
public static final LiteralType PATH_EXPRESSION_IDENTIFICATION_VARIABLE
public static final LiteralType PATH_EXPRESSION_LAST_PATH
public static final LiteralType STRING_LITERAL
| Method Detail |
|---|
public static LiteralType[] values()
for (LiteralType c : LiteralType.values())
System.out.println(c);
public static LiteralType 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 | ||||||||