public enum QueryCardinality extends Enum<QueryCardinality>
| Enum Constant and Description |
|---|
MULTIPLE
Query can return multiple instances.
|
SINGLE
Query should return only a single instance (or possible none).
|
| Modifier and Type | Method and Description |
|---|---|
static QueryCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryCardinality MULTIPLE
public static final QueryCardinality SINGLE
public static QueryCardinality[] values()
for (QueryCardinality c : QueryCardinality.values()) System.out.println(c);
public static QueryCardinality 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 © 2010–2014 The Apache Software Foundation. All rights reserved.