org.nuiton.util
Enum H2TypeEnum
java.lang.Object
java.lang.Enum<H2TypeEnum>
org.nuiton.util.H2TypeEnum
- All Implemented Interfaces:
- Serializable, Comparable<H2TypeEnum>
public enum H2TypeEnum
- extends Enum<H2TypeEnum>
Une énumération pour représenter les différentes types d'implantation dans H2
- Author:
- chemit
|
Method Summary |
static H2TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static H2TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
derby
public static final H2TypeEnum derby
h2
public static final H2TypeEnum h2
hsql
public static final H2TypeEnum hsql
mckoi
public static final H2TypeEnum mckoi
values
public static H2TypeEnum[] 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 (H2TypeEnum c : H2TypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static H2TypeEnum 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 © 2004-2010 CodeLutin. All Rights Reserved.