copyright The Portico Project 2008.

org.portico.shared.compat
Enum JResignAction

java.lang.Object
  extended by java.lang.Enum<JResignAction>
      extended by org.portico.shared.compat.JResignAction
All Implemented Interfaces:
Serializable, Comparable<JResignAction>

public enum JResignAction
extends Enum<JResignAction>


Enum Constant Summary
DELETE_OBJECTS
           
DELETE_OBJECTS_AND_RELEASE_ATTRIBUTES
           
NO_ACTION
           
RELEASE_ATTRIBUTES
           
 
Field Summary
private  int value
           
 
Method Summary
static JResignAction for13Value(int value)
           
static JResignAction for1516Value(int value)
           
 int getValue()
           
static JResignAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JResignAction[] 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

RELEASE_ATTRIBUTES

public static final JResignAction RELEASE_ATTRIBUTES

DELETE_OBJECTS

public static final JResignAction DELETE_OBJECTS

DELETE_OBJECTS_AND_RELEASE_ATTRIBUTES

public static final JResignAction DELETE_OBJECTS_AND_RELEASE_ATTRIBUTES

NO_ACTION

public static final JResignAction NO_ACTION
Field Detail

value

private int value
Method Detail

values

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

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

valueOf

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

getValue

public int getValue()

for13Value

public static JResignAction for13Value(int value)
                                throws JInvalidResignAction
Throws:
JInvalidResignAction

for1516Value

public static JResignAction for1516Value(int value)
                                  throws JInvalidResignAction
Throws:
JInvalidResignAction

copyright The Portico Project 2008.