org.gwe.api
Enum ClientOrderBasedQuery

java.lang.Object
  extended by java.lang.Enum<ClientOrderBasedQuery>
      extended by org.gwe.api.ClientOrderBasedQuery
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClientOrderBasedQuery>

public enum ClientOrderBasedQuery
extends java.lang.Enum<ClientOrderBasedQuery>

Since:
Dec 17, 2007
Author:
Marco Ruiz

Enum Constant Summary
GET_JOB
           
GET_ORDER
           
LIST_JOBS
           
LIST_ORDERS
           
STREAM_RESULT
           
 
Method Summary
 java.lang.String getOutput(java.lang.Object model)
           
static java.util.Set<java.lang.String> getQueries()
           
static ClientOrderBasedQuery getQuery(java.lang.String id)
           
static ClientOrderBasedQuery valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClientOrderBasedQuery[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GET_ORDER

public static final ClientOrderBasedQuery GET_ORDER

GET_JOB

public static final ClientOrderBasedQuery GET_JOB

LIST_ORDERS

public static final ClientOrderBasedQuery LIST_ORDERS

LIST_JOBS

public static final ClientOrderBasedQuery LIST_JOBS

STREAM_RESULT

public static final ClientOrderBasedQuery STREAM_RESULT
Method Detail

values

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

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

valueOf

public static ClientOrderBasedQuery valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getOutput

public java.lang.String getOutput(java.lang.Object model)

getQuery

public static ClientOrderBasedQuery getQuery(java.lang.String id)

getQueries

public static java.util.Set<java.lang.String> getQueries()


Copyright © 2007-2009. All Rights Reserved.