public class DatabaseConnection extends TransferableObject implements Renderable
DataSource
and a name for itConstructor and Description |
---|
DatabaseConnection(java.lang.String dsName,
DBConnectionPool cp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
DBConnectionPool |
getDataSource() |
java.lang.String |
getName() |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
int |
hashCode() |
boolean |
isCurrent() |
DatabaseConnection |
rehash() |
void |
setCurrent(boolean isCurrent) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public DatabaseConnection(java.lang.String dsName, DBConnectionPool cp)
public DBConnectionPool getDataSource()
public java.lang.String getName()
public boolean isCurrent()
public void setCurrent(boolean isCurrent)
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public DatabaseConnection rehash()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.