public static class ExtrasRegistration.Item extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
databaseCode
Character string that identifies the type of database.
|
protected String |
extrasName
Name of the DatabaseExtras subclass that handles the database
specific properties.
|
protected DatabaseExtras |
object
DatabaseExtras object for handling the database specific properties.
|
| Constructor and Description |
|---|
ExtrasRegistration.Item(DatabaseExtras extrasObject)
This object is instantiated when the DatabaseExtras object
calls the register method below.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Return the name of the DatabaseExtras subclass that handles the
specific type of database.
|
DatabaseExtras |
getDatabaseExtras()
Return the DatabaseExtras object that handles the
specific type of database.
|
String |
getDbms()
Return the code that identifies the type of database.
|
protected DatabaseExtras object
protected String extrasName
protected String databaseCode
Typical values are SQLSERVER, ORACLE,
and MYSQL.
public ExtrasRegistration.Item(DatabaseExtras extrasObject) throws ClassNotFoundException, InstantiationException, IllegalAccessException, NotSupportedException
extrasObject - ClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionNotSupportedExceptionExtrasRegistration.register(DatabaseExtras)public String getDbms()
public DatabaseExtras getDatabaseExtras()
public String getClassName()