org.jboss.cdi.tck.tests.deployment.initialization
Enum Bar
java.lang.Object
java.lang.Enum<Bar>
org.jboss.cdi.tck.tests.deployment.initialization.Bar
- All Implemented Interfaces:
- Serializable, Comparable<Bar>
public enum Bar
- extends Enum<Bar>
|
Enum Constant Summary |
BAZ
|
|
Method Summary |
void |
setFoo(Foo foo)
|
static Bar |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Bar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
BAZ
public static final Bar BAZ
injectionPerformedAt
public static long injectionPerformedAt
values
public static Bar[] 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 (Bar c : Bar.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Bar 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
setFoo
@Inject
public void setFoo(Foo foo)
Copyright © 2008-2012 Seam Framework. All Rights Reserved.