1 /*
2 Bloof - visualize the evolution of your software project
3 Copyright ( C ) 2003 Lukasz Pekacki <lukasz@pekacki.de>
4 http://bloof.sf.net/
5
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 $RCSfile: DbAccess.java,v $
19 Created on $Date: 2003/08/18 11:10:39 $
20 */
21 package net.sf.bloof.db;
22
23 /***
24 * Interface for DB Acces objects
25 * @author Lukasz Pekacki <pekacki@users.sourceforge.net>
26 * @version $Id: DbAccess.java,v 1.7 2003/08/18 11:10:39 pekacki Exp $
27 */
28 public interface DbAccess {
29 /***
30 * Returns the url of of the database server, needed by drivermanager for
31 * connection to the database
32 * @return String url of of the database server, needed by drivermanager for
33 * connection to the database
34 */
35 String getDatabaseUrl( );
36 /***
37 * Returns the login of the database user
38 * @return String login of the database user
39 */
40 String getLogin( );
41 /***
42 * Returns the password of the database user
43 * @return String password of the database user
44 */
45 String getPassword( );
46 /***
47 * Method setDataBaseUrl.
48 * @param aNewUrl new Url
49 */
50 void setDatabaseUrl( String aNewUrl );
51 /***
52 * Shows the name of the database access.
53 * @return Name of the Database access object
54 */
55 String toString( );
56
57 /***
58 * Returns true if the specified object equals this one
59 * @param aOtherDbAccess specified object
60 * @return true if the specified object equals this one
61 */
62 boolean equals(Object aOtherDbAccess);
63 }
This page was automatically generated by Maven