|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DatabaseType> edu.jhu.tmaj.database.data.DatabaseType
public enum DatabaseType
Represents the types of databases that JAnyDatabase supports. The JAnyDatabase package will exhibit different functionality depending on the database type chosen.
Enum Constant Summary | |
---|---|
MYSQL
The MySQL database. |
|
ORACLE
The Oracle Database. |
|
SQL_SERVER
Microsoft SQL Server |
|
SYBASE_ASA
Sybase Adaptive Server Anywhere. |
|
SYBASE_ASE
Sybase Adaptive Server Enterprise. |
Method Summary | |
---|---|
static DatabaseType |
getInstance(java.lang.String string)
|
static DatabaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DatabaseType SYBASE_ASA
public static final DatabaseType SYBASE_ASE
public static final DatabaseType ORACLE
public static final DatabaseType MYSQL
public static final DatabaseType SQL_SERVER
Method Detail |
---|
public static DatabaseType[] values()
for (DatabaseType c : DatabaseType.values()) System.out.println(c);
public static DatabaseType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static DatabaseType getInstance(java.lang.String string)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |