private static enum FindQuery.CanFind extends java.lang.Enum<FindQuery.CanFind>
Enum Constant and Description |
---|
ANY
Any record matching the query criteria
|
ONE
A unique record matching the query criteria
|
Modifier and Type | Method and Description |
---|---|
static FindQuery.CanFind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FindQuery.CanFind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FindQuery.CanFind ANY
public static final FindQuery.CanFind ONE
public static FindQuery.CanFind[] values()
for (FindQuery.CanFind c : FindQuery.CanFind.values()) System.out.println(c);
public static FindQuery.CanFind 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 null