ch.ralscha.extdirectspring.annotation
Enum ExtDirectMethodType

java.lang.Object
  extended by java.lang.Enum<ExtDirectMethodType>
      extended by ch.ralscha.extdirectspring.annotation.ExtDirectMethodType
All Implemented Interfaces:
Serializable, Comparable<ExtDirectMethodType>

public enum ExtDirectMethodType
extends Enum<ExtDirectMethodType>

Enumeration of all possible remote method types.

Author:
Ralph Schaer

Enum Constant Summary
FORM_LOAD
          Specifies a method that handles a form load
FORM_POST
          Specifies a method that handles a form post (with or without upload)
POLL
          Specifies a method that handles polling
SIMPLE
          Specifies a simple remote method
STORE_MODIFY
          Specifies a method that handles a create, update or delete call from DirectStore
STORE_READ
          Specifies a method that handles a read call from DirectStore
 
Method Summary
static ExtDirectMethodType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExtDirectMethodType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIMPLE

public static final ExtDirectMethodType SIMPLE
Specifies a simple remote method


FORM_LOAD

public static final ExtDirectMethodType FORM_LOAD
Specifies a method that handles a form load


STORE_READ

public static final ExtDirectMethodType STORE_READ
Specifies a method that handles a read call from DirectStore


STORE_MODIFY

public static final ExtDirectMethodType STORE_MODIFY
Specifies a method that handles a create, update or delete call from DirectStore


FORM_POST

public static final ExtDirectMethodType FORM_POST
Specifies a method that handles a form post (with or without upload)


POLL

public static final ExtDirectMethodType POLL
Specifies a method that handles polling

Method Detail

values

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

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

valueOf

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


Copyright © 2010-2011. All Rights Reserved.