net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.webflow.config
Enum RepositoryTypeAttribute

java.lang.Object
  extended by java.lang.Enum<RepositoryTypeAttribute>
      extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.spring.webflow.config.RepositoryTypeAttribute
All Implemented Interfaces:
Serializable, Comparable<RepositoryTypeAttribute>

public enum RepositoryTypeAttribute
extends Enum<RepositoryTypeAttribute>

Java class for repositoryTypeAttribute.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="repositoryTypeAttribute">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="continuation"/>
     <enumeration value="simple"/>
     <enumeration value="client"/>
     <enumeration value="singlekey"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CLIENT
          The client continuation repository type.
CONTINUATION
          The continuation repository type.
SIMPLE
          The simple repository type.
SINGLEKEY
          The "single key" repository type.
 
Method Summary
static RepositoryTypeAttribute fromValue(String v)
           
 String value()
           
static RepositoryTypeAttribute valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RepositoryTypeAttribute[] 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

CONTINUATION

public static final RepositoryTypeAttribute CONTINUATION
The continuation repository type. Use this to snapshot flow execution state server-side to support use of the browser back button.


SIMPLE

public static final RepositoryTypeAttribute SIMPLE
The simple repository type. Use of this strategy incurs minimal storage overhead but explicitly prevents resubmits using the browser back button.


CLIENT

public static final RepositoryTypeAttribute CLIENT
The client continuation repository type. Use this to snapshot flow execution state client-side to support use of the browser back button in a stateless server environment.


SINGLEKEY

public static final RepositoryTypeAttribute SINGLEKEY
The "single key" repository type. Use of this strategy assigns a single key per flow execution that remains constant throughout the life of the execution.

Method Detail

values

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

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

valueOf

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

value

public String value()

fromValue

public static RepositoryTypeAttribute fromValue(String v)


Copyright © 2009 The CC-XJC Community. All Rights Reserved.