public enum OffEnd extends java.lang.Enum<OffEnd>
This information is used in combination with a query's last used sort index, to ensure dynamic queries start their searches at the appropriate record.
Enum Constant and Description |
---|
BACK
Query is off back end of results
|
FRONT
Query is off front end of results
|
NONE
Query is not off-end
|
Modifier and Type | Method and Description |
---|---|
OffEnd |
inverse()
Returns inverse off-end.
|
static OffEnd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OffEnd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OffEnd NONE
public static final OffEnd FRONT
public static final OffEnd BACK
public static OffEnd[] values()
for (OffEnd c : OffEnd.values()) System.out.println(c);
public static OffEnd 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 OffEnd inverse()
FRONT
if the off-end is BACK
.
BACK
if the off-end is FRONT
.
NONE
otherwise.