public class MySQLSystem extends DBSystem implements PamSettings
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYSTEMNAME |
Constructor and Description |
---|
MySQLSystem(DBControl dbControl,
int settingsStore) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildDatabaseUrl(java.lang.String ipAddress,
int portNumber,
java.lang.String databaseName) |
PamCursor |
createPamCursor(EmptyTableDefinition tableDefinition) |
SystemDialogPanel |
getDialogPanel(java.awt.Component parent)
Get a database specific dialog panel to include in
the database select dialog.
|
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
SQLTypes |
getSqlTypes()
Get the SQLTypes object which can be used to preform system specific
formatting of SQL strings.
|
java.lang.String |
getUnitName() |
java.lang.String |
getUnitType() |
boolean |
hasDriver() |
boolean |
isServerConnected() |
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
canOpenDatabase, getKeywords, getShortDatabaseName, openCurrentDatabase
public static final java.lang.String SYSTEMNAME
public MySQLSystem(DBControl dbControl, int settingsStore)
public boolean hasDriver()
public SystemDialogPanel getDialogPanel(java.awt.Component parent)
DBSystem
parent
- parent componentpublic java.lang.String buildDatabaseUrl(java.lang.String ipAddress, int portNumber, java.lang.String databaseName)
public boolean isServerConnected()
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public java.lang.String getUnitName()
getUnitName
in interface PamSettings
public java.lang.String getUnitType()
getUnitType
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings
public PamCursor createPamCursor(EmptyTableDefinition tableDefinition)
createPamCursor
in class DBSystem
public SQLTypes getSqlTypes()
DBSystem
getSqlTypes
in class DBSystem