Project: stp

com.ibm.rational.stp.client.samples
Enum QueryUtilities.Kind

Object
  extended by Enum<QueryUtilities.Kind>
      extended by com.ibm.rational.stp.client.samples.QueryUtilities.Kind
All Implemented Interfaces:
Serializable, Comparable<QueryUtilities.Kind>
Enclosing class:
QueryUtilities

private static enum QueryUtilities.Kind
extends Enum<QueryUtilities.Kind>


Enum Constant Summary
BINARY
          FilterSym.kind for an operation with two operands
END
          FilterSym.kind for the end of a FilterLeaf expression
NILARY
          FilterSym.kind for an operation with no operands
SEPARATOR
          FilterSym.kind for a target separator token
TARGET
          FilterSym.kind for target specification token
UNARY
          FilterSym.kind for an operation with one operand
VARIADIC
          FilterSym.kind for an operation with one or more operands
 
Method Summary
static QueryUtilities.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryUtilities.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NILARY

public static final QueryUtilities.Kind NILARY
FilterSym.kind for an operation with no operands


UNARY

public static final QueryUtilities.Kind UNARY
FilterSym.kind for an operation with one operand


BINARY

public static final QueryUtilities.Kind BINARY
FilterSym.kind for an operation with two operands


VARIADIC

public static final QueryUtilities.Kind VARIADIC
FilterSym.kind for an operation with one or more operands


TARGET

public static final QueryUtilities.Kind TARGET
FilterSym.kind for target specification token


SEPARATOR

public static final QueryUtilities.Kind SEPARATOR
FilterSym.kind for a target separator token


END

public static final QueryUtilities.Kind END
FilterSym.kind for the end of a FilterLeaf expression

Method Detail

values

public static QueryUtilities.Kind[] 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 (QueryUtilities.Kind c : QueryUtilities.Kind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QueryUtilities.Kind 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

Generated Thu 21-Nov-2013 02:35 AM

Copyright © IBM 2013. All rights reserved.