org.jboss.cdi.tck.tests.lookup.injection.enums
Enum EnclosingClass.AdvancedEnum

java.lang.Object
  extended by java.lang.Enum<EnclosingClass.AdvancedEnum>
      extended by 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>


Enum Constant Summary
BAR
           
FOO
           
 
Method Summary
abstract  void abstractInitializer(Dog dog)
           
abstract  Dog getInitializerAbstractDog()
           
abstract  Cat getSubclassCat()
           
abstract  Dog getSubclassDog()
           
 Cat getSuperclassCat()
           
 Dog getSuperclassDog()
           
 void superclassInitializer(Dog dog)
           
static EnclosingClass.AdvancedEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnclosingClass.AdvancedEnum[] 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

FOO

public static final EnclosingClass.AdvancedEnum FOO

BAR

public static final EnclosingClass.AdvancedEnum BAR
Method Detail

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.