org.chorem.pollen.ui.data
Enum PollStep

java.lang.Object
  extended by java.lang.Enum<PollStep>
      extended by org.chorem.pollen.ui.data.PollStep
All Implemented Interfaces:
Serializable, Comparable<PollStep>

public enum PollStep
extends Enum<PollStep>

Énumération représentant les étapes du formulaire de création de sondage.


Enum Constant Summary
CHOICES
           
LISTS
           
OPTIONS
           
POLL
           
 
Field Summary
protected  Integer index
           
 
Method Summary
 Integer getIndex()
           
static PollStep valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PollStep[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POLL

public static final PollStep POLL

OPTIONS

public static final PollStep OPTIONS

LISTS

public static final PollStep LISTS

CHOICES

public static final PollStep CHOICES
Field Detail

index

protected Integer index
Method Detail

values

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

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

valueOf

public static PollStep 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

getIndex

public Integer getIndex()


Copyright © 2009-2010 CodeLutin. All Rights Reserved.