Package com.adbs.syntax
Enum FirebirdVersion
- java.lang.Object
-
- java.lang.Enum<FirebirdVersion>
-
- com.adbs.syntax.FirebirdVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FirebirdVersion>
public enum FirebirdVersion extends java.lang.Enum<FirebirdVersion>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Firebird1
Firebird1_5
Firebird2
Firebird2_5
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FirebirdVersion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FirebirdVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Firebird1
public static final FirebirdVersion Firebird1
-
Firebird1_5
public static final FirebirdVersion Firebird1_5
-
Firebird2
public static final FirebirdVersion Firebird2
-
Firebird2_5
public static final FirebirdVersion Firebird2_5
-
-
Method Detail
-
values
public static FirebirdVersion[] 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 (FirebirdVersion c : FirebirdVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FirebirdVersion valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-