net.sf.farrago.catalog
Enum FarragoSequenceOptions.OptionType

java.lang.Object
  extended by java.lang.Enum<FarragoSequenceOptions.OptionType>
      extended by net.sf.farrago.catalog.FarragoSequenceOptions.OptionType
All Implemented Interfaces:
Serializable, Comparable<FarragoSequenceOptions.OptionType>
Enclosing class:
FarragoSequenceOptions

private static enum FarragoSequenceOptions.OptionType
extends Enum<FarragoSequenceOptions.OptionType>


Enum Constant Summary
CYCLE
           
INCREMENT
           
MAXVALUE
           
MINVALUE
           
START
           
 
Method Summary
static FarragoSequenceOptions.OptionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FarragoSequenceOptions.OptionType[] 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

START

public static final FarragoSequenceOptions.OptionType START

INCREMENT

public static final FarragoSequenceOptions.OptionType INCREMENT

MINVALUE

public static final FarragoSequenceOptions.OptionType MINVALUE

MAXVALUE

public static final FarragoSequenceOptions.OptionType MAXVALUE

CYCLE

public static final FarragoSequenceOptions.OptionType CYCLE
Method Detail

values

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

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

valueOf

public static FarragoSequenceOptions.OptionType 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