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 bradleyross.library.database.DatabaseExtras |
object
DatabaseExtras object for handling the database specific properties.
|
Constructor and Description |
---|
Item(bradleyross.library.database.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.
|
bradleyross.library.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 bradleyross.library.database.DatabaseExtras object
protected String extrasName
protected String databaseCode
Typical values are SQLSERVER
, ORACLE
,
and MYSQL
.
public Item(bradleyross.library.database.DatabaseExtras extrasObject) throws ClassNotFoundException, InstantiationException, IllegalAccessException, NotSupportedException
extrasObject
- Object containing additional information for databaseClassNotFoundException
- if class not foundInstantiationException
- if unable to create objectIllegalAccessException
- if access not allowedNotSupportedException
- if not supportedExtrasRegistration.register(DatabaseExtras)
public String getDbms()
public bradleyross.library.database.DatabaseExtras getDatabaseExtras()
public String getClassName()
Copyright © 2017. All rights reserved.