org.hibernate.envers.test.integration.data
Enum EnumTestEntity.E2
java.lang.Object
   java.lang.Enum<EnumTestEntity.E2>
java.lang.Enum<EnumTestEntity.E2>
       org.hibernate.envers.test.integration.data.EnumTestEntity.E2
org.hibernate.envers.test.integration.data.EnumTestEntity.E2
- All Implemented Interfaces: 
- Serializable, Comparable<EnumTestEntity.E2>
- Enclosing class:
- EnumTestEntity
- public static enum EnumTestEntity.E2 
- extends Enum<EnumTestEntity.E2>
| Enum Constant Summary | 
| A
 | 
| B
 | 
 
 
 
 
A
public static final EnumTestEntity.E2 A
B
public static final EnumTestEntity.E2 B
values
public static EnumTestEntity.E2[] 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 (EnumTestEntity.E2 c : EnumTestEntity.E2.values())
    System.out.println(c);
 
 
- 
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
 
valueOf
public static EnumTestEntity.E2 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 © 2001-2012 Red Hat, Inc.  All Rights Reserved.