com.uwyn.rife.engine.annotations
Enum SubmissionHandler.Scope

java.lang.Object
  extended by java.lang.Enum<SubmissionHandler.Scope>
      extended by com.uwyn.rife.engine.annotations.SubmissionHandler.Scope
All Implemented Interfaces:
Serializable, Comparable<SubmissionHandler.Scope>
Enclosing class:
SubmissionHandler

public static enum SubmissionHandler.Scope
extends Enum<SubmissionHandler.Scope>

A LOCAL submission scope means that only the submission with the same name in the same element will be able to receive the data that was submitted.

A GLOBAL submission scope means that any submission with the same name (even if it belongs to another element) will be able to receive the data that was submitted.

Since:
1.5

Enum Constant Summary
GLOBAL
           
LOCAL
           
 
Method Summary
static SubmissionHandler.Scope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SubmissionHandler.Scope[] 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

LOCAL

public static final SubmissionHandler.Scope LOCAL

GLOBAL

public static final SubmissionHandler.Scope GLOBAL
Method Detail

values

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

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

valueOf

public static SubmissionHandler.Scope 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 © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.