public static enum Constants.RefType extends Enum<Constants.RefType>
| Enum Constant and Description |
|---|
ENTITY |
SESSION |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RefType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RefType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RefType UNSPECIFIED
public static final Constants.RefType ENTITY
public static final Constants.RefType SESSION
public static Constants.RefType[] values()
for (Constants.RefType c : Constants.RefType.values()) System.out.println(c);
public static Constants.RefType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null