net.sf.borg.model
Enum Model.ChangeEvent.ChangeAction
java.lang.Object
java.lang.Enum<Model.ChangeEvent.ChangeAction>
net.sf.borg.model.Model.ChangeEvent.ChangeAction
- All Implemented Interfaces:
- Serializable, Comparable<Model.ChangeEvent.ChangeAction>
- Enclosing class:
- Model.ChangeEvent
public static enum Model.ChangeEvent.ChangeAction
- extends Enum<Model.ChangeEvent.ChangeAction>
Enum to hold actions that can happen to an object
ADD
public static final Model.ChangeEvent.ChangeAction ADD
CHANGE
public static final Model.ChangeEvent.ChangeAction CHANGE
DELETE
public static final Model.ChangeEvent.ChangeAction DELETE
values
public static Model.ChangeEvent.ChangeAction[] 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 (Model.ChangeEvent.ChangeAction c : Model.ChangeEvent.ChangeAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Model.ChangeEvent.ChangeAction 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
Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae