public static enum QuerySpec.Truncate extends Enum<QuerySpec.Truncate>
Enum Constant and Description |
---|
End
This value indicates that the first portion of the
collection should be returned.
|
Start
This value indicates that the last portion of the
collection should be returned.
|
Modifier and Type | Method and Description |
---|---|
static QuerySpec.Truncate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuerySpec.Truncate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuerySpec.Truncate Start
public static final QuerySpec.Truncate End
public static QuerySpec.Truncate[] values()
for (QuerySpec.Truncate c : QuerySpec.Truncate.values()) System.out.println(c);
public static QuerySpec.Truncate 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 © 2013-2015 JBoss by Red Hat. All Rights Reserved.