public enum LiteralType extends Enum<LiteralType>
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 and Description |
---|
ABSTRACT_SCHEMA_NAME
Retrieves the abstract schema name only.
|
ENTITY_TYPE
Retrieves the entity type name only.
|
IDENTIFICATION_VARIABLE
Retrieves an identification variable name only.
|
INPUT_PARAMETER
Retrieves the input parameter value.
|
PATH_EXPRESSION_ALL_PATH
Retrieves the entire state field path or collection-valued path expression.
|
PATH_EXPRESSION_IDENTIFICATION_VARIABLE
Retrieves the identification variable name of a path expression.
|
PATH_EXPRESSION_LAST_PATH
Retrieves the last path of a state field path or collection-valued path expression.
|
STRING_LITERAL
Retrieves the string literal only.
|
Modifier and Type | Method and Description |
---|---|
static LiteralType |
valueOf(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.
|
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
public static LiteralType[] values()
for (LiteralType c : LiteralType.values()) System.out.println(c);
public static LiteralType 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 nullEclipseLink 2.3.2, "build v20111125-r10461" API Reference