Package org.apache.openmeetings.util
Enum ConnectionProperties.DbType
- java.lang.Object
-
- java.lang.Enum<ConnectionProperties.DbType>
-
- org.apache.openmeetings.util.ConnectionProperties.DbType
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionProperties.DbType>
- Enclosing class:
- ConnectionProperties
public static enum ConnectionProperties.DbType extends Enum<ConnectionProperties.DbType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdbName()static ConnectionProperties.DbTypeof(String val)static ConnectionProperties.DbTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionProperties.DbType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DB2
public static final ConnectionProperties.DbType DB2
-
H2
public static final ConnectionProperties.DbType H2
-
MSSQL
public static final ConnectionProperties.DbType MSSQL
-
MYSQL
public static final ConnectionProperties.DbType MYSQL
-
ORACLE
public static final ConnectionProperties.DbType ORACLE
-
POSTGRESQL
public static final ConnectionProperties.DbType POSTGRESQL
-
-
Method Detail
-
values
public static ConnectionProperties.DbType[] 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 (ConnectionProperties.DbType c : ConnectionProperties.DbType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionProperties.DbType 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 nameNullPointerException- if the argument is null
-
of
public static ConnectionProperties.DbType of(String val)
-
dbName
public String dbName()
-
-