org.nakedobjects.applib.annotation
Enum Executed.Where
java.lang.Object
java.lang.Enum<Executed.Where>
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>
|
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. |
LOCALLY
public static final Executed.Where LOCALLY
REMOTELY
public static final Executed.Where REMOTELY
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.