org.apache.xbean.recipe
Enum Option

java.lang.Object
  extended by java.lang.Enum<Option>
      extended by org.apache.xbean.recipe.Option
All Implemented Interfaces:
Serializable, Comparable<Option>

public enum Option
extends Enum<Option>

Version:
$Rev$ $Date$

Enum Constant Summary
CASE_INSENSITIVE_FACTORY
           
CASE_INSENSITIVE_PROPERTIES
           
FIELD_INJECTION
           
IGNORE_MISSING_PROPERTIES
           
LAZY_ASSIGNMENT
           
NAMED_PARAMETERS
           
PRIVATE_CONSTRUCTOR
           
PRIVATE_FACTORY
           
PRIVATE_PROPERTIES
           
STATIC_PROPERTIES
           
 
Method Summary
static Option valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Option[] 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

PRIVATE_PROPERTIES

public static final Option PRIVATE_PROPERTIES

STATIC_PROPERTIES

public static final Option STATIC_PROPERTIES

FIELD_INJECTION

public static final Option FIELD_INJECTION

IGNORE_MISSING_PROPERTIES

public static final Option IGNORE_MISSING_PROPERTIES

CASE_INSENSITIVE_PROPERTIES

public static final Option CASE_INSENSITIVE_PROPERTIES

LAZY_ASSIGNMENT

public static final Option LAZY_ASSIGNMENT

PRIVATE_CONSTRUCTOR

public static final Option PRIVATE_CONSTRUCTOR

PRIVATE_FACTORY

public static final Option PRIVATE_FACTORY

CASE_INSENSITIVE_FACTORY

public static final Option CASE_INSENSITIVE_FACTORY

NAMED_PARAMETERS

public static final Option NAMED_PARAMETERS
Method Detail

values

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

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

valueOf

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


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.