org.iqual.chaplin
Enum ContextAttributes

java.lang.Object
  extended by java.lang.Enum<ContextAttributes>
      extended by org.iqual.chaplin.ContextAttributes
All Implemented Interfaces:
Serializable, Comparable<ContextAttributes>

public enum ContextAttributes
extends Enum<ContextAttributes>

Since:
Mar 16, 2009 10:51:41 PM
Author:
Zbynek Slajchrt

Enum Constant Summary
Mandatory
           
Requires
           
RequiresNew
           
This
           
 
Method Summary
static ContextAttributes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContextAttributes[] 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

Requires

public static final ContextAttributes Requires

RequiresNew

public static final ContextAttributes RequiresNew

Mandatory

public static final ContextAttributes Mandatory

This

public static final ContextAttributes This
Method Detail

values

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

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

valueOf

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


Copyright © 2009 iquality.org. All Rights Reserved.