public static enum Query.Type extends Enum<Query.Type>
There could be Query implementations for one or another Query Type. If
the query factory instantiating a specific implementation of this class
does not support a given Query Type than a UnsupportedQueryTypeException
should be thrown.
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Query.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.Type NXQL
public static final Query.Type XPATH
public static Query.Type[] values()
for (Query.Type c : Query.Type.values()) System.out.println(c);
public static Query.Type 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 nullpublic String toString()
toString
in class Enum<Query.Type>
Copyright © 2011 Nuxeo SA. All Rights Reserved.