public static enum ConnectionHolder.ConnectionType extends Enum<ConnectionHolder.ConnectionType>
| Enum Constant and Description |
|---|
LAZY_ASSOCIATABLE |
LAZY_ENLISTABLE |
STANDARD |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionHolder.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionHolder.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionHolder.ConnectionType LAZY_ENLISTABLE
public static final ConnectionHolder.ConnectionType LAZY_ASSOCIATABLE
public static final ConnectionHolder.ConnectionType STANDARD
public static ConnectionHolder.ConnectionType[] values()
for (ConnectionHolder.ConnectionType c : ConnectionHolder.ConnectionType.values()) System.out.println(c);
public static ConnectionHolder.ConnectionType 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 nullCopyright © 2019. All rights reserved.