org.gwe.api
Enum ClientOrderBasedOperation

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

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

Since:
Dec 17, 2007
Author:
Marco Ruiz

Enum Constant Summary
ABORT
           
DELETE
           
PAUSE
           
RESUME
           
 
Method Summary
 java.lang.String getId()
           
static ClientOrderBasedOperation getOperation(java.lang.String id)
           
static java.util.Set<java.lang.String> getOperations()
           
static ClientOrderBasedOperation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClientOrderBasedOperation[] 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

PAUSE

public static final ClientOrderBasedOperation PAUSE

RESUME

public static final ClientOrderBasedOperation RESUME

ABORT

public static final ClientOrderBasedOperation ABORT

DELETE

public static final ClientOrderBasedOperation DELETE
Method Detail

values

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

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

valueOf

public static ClientOrderBasedOperation 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

getId

public java.lang.String getId()

getOperation

public static ClientOrderBasedOperation getOperation(java.lang.String id)

getOperations

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


Copyright © 2007-2009. All Rights Reserved.