001    //$ Header: Exp $
002    /*---------------- FILE HEADER ------------------------------------------
003     This file is part of deegree.
004     Copyright (C) 2001-2004 by:
005     EXSE, Department of Geography, University of Bonn
006     http://www.giub.uni-bonn.de/exse/
007     lat/lon GmbH
008     http://www.lat-lon.de
009     This library is free software; you can redistribute it and/or
010     modify it under the terms of the GNU Lesser General Public
011     License as published by the Free Software Foundation; either
012     version 2.1 of the License, or (at your option) any later version.
013     This library is distributed in the hope that it will be useful,
014     but WITHOUT ANY WARRANTY; without even the implied warranty of
015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016     Lesser General Public License for more details.
017     You should have received a copy of the GNU Lesser General Public
018     License along with this library; if not, write to the Free Software
019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020     Contact:
021     Dr. Andreas Poth
022     lat/lon GmbH
023     Aennchenstr. 19
024     53177 Bonn
025     Germany
026     E-Mail: poth@lat-lon.de
027     Prof. Dr. Klaus Greve
028     Department of Geography
029     University of Bonn
030     Meckenheimer Allee 166
031     53115 Bonn
032     Germany
033     E-Mail: greve@giub.uni-bonn.de
034     ---------------------------------------------------------------------------*/
035    
036    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wmps/configuration/CacheDatabase.java $
037    /*----------------    FILE HEADER  ------------------------------------------
038    
039     This file is part of deegree.
040     Copyright (C) 2001-2005 by:
041     EXSE, Department of Geography, University of Bonn
042     http://www.giub.uni-bonn.de/exse/
043     lat/lon GmbH
044     http://www.lat-lon.de
045    
046     This library is free software; you can redistribute it and/or
047     modify it under the terms of the GNU Lesser General Public
048     License as published by the Free Software Foundation; either
049     version 2.1 of the License, or (at your option) any later version.
050    
051     This library is distributed in the hope that it will be useful,
052     but WITHOUT ANY WARRANTY; without even the implied warranty of
053     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
054     Lesser General Public License for more details.
055    
056     You should have received a copy of the GNU Lesser General Public
057     License along with this library; if not, write to the Free Software
058     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
059    
060     Contact:
061    
062     Andreas Poth
063     lat/lon GmbH
064     Aennchenstraße 19
065     53177 Bonn
066     Germany
067     E-Mail: poth@lat-lon.de
068    
069     Jens Fitzke
070     lat/lon GmbH
071     Aennchenstraße 19
072     53177 Bonn
073     Germany
074     Germany
075     E-Mail: fitzke@lat-lon.de
076     
077     ---------------------------------------------------------------------------*/
078    
079    package org.deegree.ogcwebservices.wmps.configuration;
080    
081    /**
082     * This class is a container for the database used to cache the asynchronous request.
083     * 
084     * @author <a href="mailto:deshmukh@lat-lon.de">Anup Deshmukh</a>
085     * 
086     * @author last edited by: $Author: bezema $
087     * 
088     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
089     * 
090     * @since 2.0
091     */
092    
093    public class CacheDatabase {
094    
095        private String driver;
096    
097        private String url;
098    
099        private String user;
100    
101        private String password;
102    
103        /**
104         * Create a new CacheDatabase instance.
105         * 
106         * @param driver
107         * @param url
108         * @param user
109         * @param password
110         */
111        public CacheDatabase( String driver, String url, String user, String password ) {
112    
113            this.driver = driver;
114            this.url = url;
115            this.user = user;
116            this.password = password;
117        }
118    
119        /**
120         * @return Returns the driver.
121         */
122        public String getDriver() {
123            return this.driver;
124        }
125    
126        /**
127         * @param driver
128         *            The driver to set.
129         */
130        public void setDriver( String driver ) {
131            this.driver = driver;
132        }
133    
134        /**
135         * @return Returns the password.
136         */
137        public String getPassword() {
138            return this.password;
139        }
140    
141        /**
142         * @param password
143         *            The password to set.
144         */
145        public void setPassword( String password ) {
146            this.password = password;
147        }
148    
149        /**
150         * @return Returns the url.
151         */
152        public String getUrl() {
153            return this.url;
154        }
155    
156        /**
157         * @param url
158         *            The url to set.
159         */
160        public void setUrl( String url ) {
161            this.url = url;
162        }
163    
164        /**
165         * @return Returns the user.
166         */
167        public String getUser() {
168            return this.user;
169        }
170    
171        /**
172         * @param user
173         *            The user to set.
174         */
175        public void setUser( String user ) {
176            this.user = user;
177        }
178    }
179    
180    /***************************************************************************************************
181     * Changes to this class. What the people have been up to: $Log$
182     * Changes to this class. What the people have been up to: Revision 1.3  2006/08/24 06:42:17  poth
183     * Changes to this class. What the people have been up to: File header corrected
184     * Changes to this class. What the people have been up to:
185     * Changes to this class. What the people have been up to: Revision 1.2  2006/08/10 07:11:35  deshmukh
186     * Changes to this class. What the people have been up to: WMPS has been modified to support the new configuration changes and the excess code not needed has been replaced.
187     * Changes to this class. What the people have been up to: Changes to
188     * this class. What the people have been up to: Revision 1.1 2006/07/31 11:21:07 deshmukh Changes to
189     * this class. What the people have been up to: wmps implemention... Changes to this class. What the
190     * people have been up to:
191     **************************************************************************************************/