public static enum ReadAllQuery.Direction extends java.lang.Enum<ReadAllQuery.Direction>
Enum Constant and Description |
---|
CHILD_TO_PARENT
Hierarchy will be traversed from child to parent - PRIOR keyword is
generated on the right side of the equation
|
PARENT_TO_CHILD
Hierarchy will be traversed from parent to child - PRIOR keyword is
generated on the left side of the equation
|
Modifier and Type | Method and Description |
---|---|
static ReadAllQuery.Direction |
getDefault(DatabaseMapping mapping)
PUBLIC: Returns the default hierarchy traversal direction for the
specified mapping.
|
static ReadAllQuery.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadAllQuery.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadAllQuery.Direction PARENT_TO_CHILD
public static final ReadAllQuery.Direction CHILD_TO_PARENT
public static ReadAllQuery.Direction[] values()
for (ReadAllQuery.Direction c : ReadAllQuery.Direction.values()) System.out.println(c);
public static ReadAllQuery.Direction 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 nullpublic static ReadAllQuery.Direction getDefault(DatabaseMapping mapping)
mapping
- The mapping for which to return default hierarchy
traversal direction