|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.database.conn.DatabaseParameters
public final class DatabaseParameters
Represents parameters used to connect to a database, such as IP address and login information.
Constructor Summary | |
---|---|
DatabaseParameters(java.net.InetSocketAddress socketAddress,
java.lang.String dbName,
UserCredentials credentials,
DatabaseType databaseType,
java.lang.String testSQL)
|
Method Summary | |
---|---|
DatabaseType |
getDatabaseType()
|
java.lang.String |
getDbName()
Returns the name of the database. |
java.lang.String |
getIpAddress()
|
java.lang.String |
getPassword()
Gets the Password used to connect to the database, e.g. |
int |
getPort()
|
java.net.InetSocketAddress |
getSocketAddress()
Returns the IP Address and port on which the database runs. |
java.lang.String |
getTestSQL()
|
java.lang.String |
getUsername()
Gets the Username used to connect to the database, e.g. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatabaseParameters(java.net.InetSocketAddress socketAddress, java.lang.String dbName, UserCredentials credentials, DatabaseType databaseType, java.lang.String testSQL)
Method Detail |
---|
public java.net.InetSocketAddress getSocketAddress()
public java.lang.String getIpAddress()
public int getPort()
public java.lang.String getDbName()
public java.lang.String getUsername()
public java.lang.String getPassword()
public DatabaseType getDatabaseType()
public java.lang.String getTestSQL()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |