org.nakedobjects.applib.annotation
Enum Executed.Where

java.lang.Object
  extended by java.lang.Enum<Executed.Where>
      extended by org.nakedobjects.applib.annotation.Executed.Where
All Implemented Interfaces:
Serializable, Comparable<Executed.Where>
Enclosing class:
Executed

public static enum Executed.Where
extends Enum<Executed.Where>


Enum Constant Summary
LOCALLY
           
REMOTELY
           
 
Method Summary
static Executed.Where valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Executed.Where[] 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

LOCALLY

public static final Executed.Where LOCALLY

REMOTELY

public static final Executed.Where REMOTELY
Method Detail

values

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

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

valueOf

public static Executed.Where 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


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.