Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.samples » validation » todolist » [javadoc | source]
static final class: ActionType.Enum [javadoc | source]

All Implemented Interfaces:

Enumeration value class for org.apache.xmlbeans.samples.validation.todolist.ActionType. These enum values can be used as follows:
enum.toString(); // returns the string value of the enum
enum.intValue(); // returns an int value, useful for switches
// e.g., case Enum.INT_DO
Enum.forString(s); // returns the enum value for a string
Enum.forInt(i); // returns the enum value for an int
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.
Field Summary
static final  int INT_DO     
static final  int INT_DELEGATE     
static final  int INT_SOMEDAY_MAYBE_DEFER     
static final  int INT_TOSS     
static final  int INT_INCUBATE     
static final  int INT_FILE     
public static final  Table table     
Method from org.apache.xmlbeans.samples.validation.todolist.ActionType$Enum Summary:
forInt,   forString
Methods from org.apache.xmlbeans.StringEnumAbstractBase:
hashCode,   intValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.samples.validation.todolist.ActionType$Enum Detail:
 public static Enum forInt(int i) 
    Returns the enum value corresponding to an int, or null if none.
 public static Enum forString(String s) 
    Returns the enum value for a string, or null if none.