babase.ranker
Class BabaseDB

java.lang.Object
  extended by babase.ranker.BabaseDB

public class BabaseDB
extends java.lang.Object

Class that holds the connection information about the database the ranker is connecting to.

Author:
tjb13

Constructor Summary
BabaseDB(java.lang.String n, java.lang.String cs)
          Constructor which takes the name of the database and the connect string which would be used in making the connection.
 
Method Summary
 java.lang.String getConenctString()
          returns the connection string
 java.lang.String toString()
          returns the name of the database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BabaseDB

public BabaseDB(java.lang.String n,
                java.lang.String cs)
Constructor which takes the name of the database and the connect string which would be used in making the connection.

Parameters:
n - a name
cs - a connection friendly database string
Method Detail

toString

public java.lang.String toString()
returns the name of the database

Overrides:
toString in class java.lang.Object

getConenctString

public java.lang.String getConenctString()
returns the connection string

Returns: