org.modeshape.jcr.query.model
Enum SetQuery.Operation
java.lang.Object
java.lang.Enum<SetQuery.Operation>
org.modeshape.jcr.query.model.SetQuery.Operation
- All Implemented Interfaces:
- Serializable, Comparable<SetQuery.Operation>, Readable
- Enclosing class:
- SetQuery
public static enum SetQuery.Operation
- extends Enum<SetQuery.Operation>
- implements Readable
UNION
public static final SetQuery.Operation UNION
INTERSECT
public static final SetQuery.Operation INTERSECT
EXCEPT
public static final SetQuery.Operation EXCEPT
values
public static SetQuery.Operation[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SetQuery.Operation c : SetQuery.Operation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SetQuery.Operation valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getSymbol
public String getSymbol()
- Returns:
- symbol
toString
public String toString()
-
- Overrides:
toString
in class Enum<SetQuery.Operation>
- See Also:
Enum.toString()
forSymbol
public static SetQuery.Operation forSymbol(String symbol)
getString
public String getString()
- Description copied from interface:
Readable
- Get the string representation of this query object.
- Specified by:
getString
in interface Readable
- Returns:
- the string representation; never null
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.