Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqQuery.QueryType

Object
  extended by Enum<CqQuery.QueryType>
      extended by CqQuery.QueryType
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CqQuery.QueryType>
Enclosing interface:
CqQuery

public static enum CqQuery.QueryType
extends Enum<CqQuery.QueryType>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

An enumeration of the possible types of queries.


Enum Constant Summary
CHART
          The query generates a chart.
LIST
          The query generates a list of data, a result set.
REPORT
          The query generates a formatted report.
 
Method Summary
static CqQuery.QueryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqQuery.QueryType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHART

public static final CqQuery.QueryType CHART
The query generates a chart.


LIST

public static final CqQuery.QueryType LIST
The query generates a list of data, a result set.


REPORT

public static final CqQuery.QueryType REPORT
The query generates a formatted report.

Method Detail

valueOf

public static CqQuery.QueryType 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

values

public static final CqQuery.QueryType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CqQuery.QueryType c : CqQuery.QueryType.values())
        System.out.println(c);

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

Generated Tue 17-Jun-2014 01:15 AM

Copyright © IBM 2014. All rights reserved.