net.sf.bloof.db
Interface DbAccess

All Known Implementing Classes:
DefaultDbAccess

public interface DbAccess

Interface for DB Acces objects

Version:
$Id: DbAccess.java,v 1.7 2003/08/18 11:10:39 pekacki Exp $
Author:
Lukasz Pekacki

Method Summary
 boolean equals(java.lang.Object aOtherDbAccess)
          Returns true if the specified object equals this one
 java.lang.String getDatabaseUrl()
          Returns the url of of the database server, needed by drivermanager for connection to the database
 java.lang.String getLogin()
          Returns the login of the database user
 java.lang.String getPassword()
          Returns the password of the database user
 void setDatabaseUrl(java.lang.String aNewUrl)
          Method setDataBaseUrl.
 java.lang.String toString()
          Shows the name of the database access.
 

Method Detail

getDatabaseUrl

public java.lang.String getDatabaseUrl()
Returns the url of of the database server, needed by drivermanager for connection to the database

Returns:
String url of of the database server, needed by drivermanager for connection to the database

getLogin

public java.lang.String getLogin()
Returns the login of the database user

Returns:
String login of the database user

getPassword

public java.lang.String getPassword()
Returns the password of the database user

Returns:
String password of the database user

setDatabaseUrl

public void setDatabaseUrl(java.lang.String aNewUrl)
Method setDataBaseUrl.

Parameters:
aNewUrl - new Url

toString

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

Overrides:
toString in class java.lang.Object
Returns:
Name of the Database access object

equals

public boolean equals(java.lang.Object aOtherDbAccess)
Returns true if the specified object equals this one

Overrides:
equals in class java.lang.Object
Parameters:
aOtherDbAccess - specified object
Returns:
true if the specified object equals this one


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.