org.jboss.cdi.tck.tests.lookup.injection.enums
Enum EnclosingClass.AdvancedEnum
java.lang.Object
java.lang.Enum<EnclosingClass.AdvancedEnum>
org.jboss.cdi.tck.tests.lookup.injection.enums.EnclosingClass.AdvancedEnum
- All Implemented Interfaces:
- Serializable, Comparable<EnclosingClass.AdvancedEnum>
- Enclosing class:
- EnclosingClass
public static enum EnclosingClass.AdvancedEnum
- extends Enum<EnclosingClass.AdvancedEnum>
FOO
public static final EnclosingClass.AdvancedEnum FOO
BAR
public static final EnclosingClass.AdvancedEnum BAR
values
public static EnclosingClass.AdvancedEnum[] 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 (EnclosingClass.AdvancedEnum c : EnclosingClass.AdvancedEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnclosingClass.AdvancedEnum 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
superclassInitializer
@Inject
public void superclassInitializer(Dog dog)
getSuperclassCat
public Cat getSuperclassCat()
getSuperclassDog
public Dog getSuperclassDog()
abstractInitializer
public abstract void abstractInitializer(Dog dog)
getInitializerAbstractDog
public abstract Dog getInitializerAbstractDog()
getSubclassCat
public abstract Cat getSubclassCat()
getSubclassDog
public abstract Dog getSubclassDog()
Copyright © 2008-2012 Seam Framework. All Rights Reserved.