org.archiviststoolkit.util
Class DatabaseConnectionInformation
java.lang.Object
org.archiviststoolkit.util.DatabaseConnectionInformation
public class DatabaseConnectionInformation
- extends java.lang.Object
Archivists' Toolkit(TM) Copyright © 2005-2007 Regents of the University of California, New York University, & Five Colleges, Inc.
All rights reserved.
This software is free. You can redistribute it and / or modify it under the terms of the Educational Community License (ECL)
version 1.0 (http://www.opensource.org/licenses/ecl1.php)
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ECL license for more details about permissions and limitations.
Archivists' Toolkit(TM)
http://www.archiviststoolkit.org
info@archiviststoolkit.org
Created by IntelliJ IDEA.
This is a simple class for storing information about database connections
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DatabaseConnectionInformation
public DatabaseConnectionInformation()
DatabaseConnectionInformation
public DatabaseConnectionInformation(java.lang.String databaseURL,
java.lang.String username,
java.lang.String password,
java.lang.String databaseType)
- Main constructor for creating database connections
- Parameters:
databaseURL
- The URL to the databaseusername
- The database usernamepassword
- The database passworddatabaseType
- The type of database
getDatabaseURL
public java.lang.String getDatabaseURL()
setDatabaseURL
public void setDatabaseURL(java.lang.String databaseURL)
getDatabaseType
public java.lang.String getDatabaseType()
setDatabaseType
public void setDatabaseType(java.lang.String databaseType)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object