public enum PathType extends Enum<PathType> implements Operator
PathType
represents the relation of a Path
to its parentEnum Constant and Description |
---|
ARRAYVALUE
Indexed array access (array[i])
|
ARRAYVALUE_CONSTANT
Indexed array access with constant (array[i])
|
COLLECTION_ANY
Access of any element in a collection
|
DELEGATE
Delegate to an expression
|
LISTVALUE
Indexed list access (list.get(index))
|
LISTVALUE_CONSTANT
Indexed list access with constant (list.get(index))
|
MAPVALUE
Map value access (map.get(key))
|
MAPVALUE_CONSTANT
Map value access with constant (map.get(key))
|
PROPERTY
Property of the parent
|
VARIABLE
Root path
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getType()
Get the result type of the operator
|
static PathType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathType ARRAYVALUE
public static final PathType ARRAYVALUE_CONSTANT
public static final PathType COLLECTION_ANY
public static final PathType DELEGATE
public static final PathType LISTVALUE
public static final PathType LISTVALUE_CONSTANT
public static final PathType MAPVALUE
public static final PathType MAPVALUE_CONSTANT
public static final PathType PROPERTY
public static final PathType VARIABLE
public static PathType[] values()
for (PathType c : PathType.values()) System.out.println(c);
public static PathType 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 nullCopyright © 2007–2016 Querydsl. All rights reserved.