001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wmps/configuration/WMPSConfiguration.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003    
004     This file is part of deegree.
005     Copyright (C) 2001-2006 by:
006     EXSE, Department of Geography, University of Bonn
007     http://www.giub.uni-bonn.de/deegree/
008     lat/lon GmbH
009     http://www.lat-lon.de
010    
011     This library is free software; you can redistribute it and/or
012     modify it under the terms of the GNU Lesser General Public
013     License as published by the Free Software Foundation; either
014     version 2.1 of the License, or (at your option) any later version.
015    
016     This library is distributed in the hope that it will be useful,
017     but WITHOUT ANY WARRANTY; without even the implied warranty of
018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
019     Lesser General Public License for more details.
020    
021     You should have received a copy of the GNU Lesser General Public
022     License along with this library; if not, write to the Free Software
023     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
024    
025     Contact:
026    
027     Andreas Poth
028     lat/lon GmbH
029     Aennchenstraße 19
030     53177 Bonn
031     E-Mail: poth@lat-lon.de
032    
033     Prof. Dr. Klaus Greve
034     Department of Geography
035     University of Bonn
036     Meckenheimer Allee 166
037     53115 Bonn
038     Germany
039     E-Mail: greve@giub.uni-bonn.de
040     
041     ---------------------------------------------------------------------------*/
042    package org.deegree.ogcwebservices.wmps.configuration;
043    
044    import java.net.URL;
045    
046    import org.deegree.ogcwebservices.getcapabilities.OperationsMetadata;
047    import org.deegree.ogcwebservices.getcapabilities.ServiceIdentification;
048    import org.deegree.ogcwebservices.getcapabilities.ServiceProvider;
049    import org.deegree.ogcwebservices.wmps.capabilities.WMPSCapabilities;
050    import org.deegree.ogcwebservices.wms.capabilities.Layer;
051    import org.deegree.ogcwebservices.wms.capabilities.UserDefinedSymbolization;
052    
053    /**
054     * Represents the configuration for a deegree WMPS 1.0 instance.
055     * 
056     * @author <a href="mailto:deshmukh@lat-lon.de">Anup Deshmukh</a> *
057     * 
058     * @version 2.0
059     * 
060     */
061    public class WMPSConfiguration extends WMPSCapabilities {
062    
063        private static final long serialVersionUID = -7940857863171829848L;
064    
065        private URL baseURL;
066    
067        private WMPSDeegreeParams deegreeParams;
068    
069        /**
070         * Generates a new <code>WFSConfiguration</code> instance from the given parameters.
071         * 
072         * @param version
073         * 
074         * @param serviceIdentification
075         * @param serviceProvider
076         * @param userDefinedSymbolization
077         * @param metadata
078         * @param layer
079         * @param deegreeParams
080         * @param baseURL
081         */
082        public WMPSConfiguration( String version, ServiceIdentification serviceIdentification,
083                                 ServiceProvider serviceProvider,
084                                 UserDefinedSymbolization userDefinedSymbolization,
085                                 OperationsMetadata metadata, Layer layer,
086                                 WMPSDeegreeParams deegreeParams, URL baseURL ) {
087    
088            super( version, serviceIdentification, serviceProvider, userDefinedSymbolization, metadata,
089                   layer );
090    
091            this.deegreeParams = deegreeParams;
092            this.baseURL = baseURL;
093        }
094    
095        /**
096         * @return Returns the deegreeParams.
097         */
098        public WMPSDeegreeParams getDeegreeParams() {
099            return this.deegreeParams;
100        }
101    
102        /**
103         * @param deegreeParams
104         *            The deegreeParams to set.
105         */
106        public void setDeegreeParams( WMPSDeegreeParams deegreeParams ) {
107            this.deegreeParams = deegreeParams;
108        }
109    
110        /**
111         * @return Gets the base URL which is used to resolve file resource (XSL sheets).
112         */
113        public URL getBaseURL() {
114            return this.baseURL;
115        }
116    }
117    /***************************************************************************************************
118     * Changes to this class. What the people have been up to: $Log$
119     * Changes to this class. What the people have been up to: Revision 1.17  2006/08/24 06:42:17  poth
120     * Changes to this class. What the people have been up to: File header corrected
121     * Changes to this class. What the people have been up to:
122     * Changes to this class. What the people have been up to: Revision 1.16  2006/08/10 07:11:35  deshmukh
123     * 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.
124     * Changes to this class. What the people have been up to:
125     * Changes to this class. What the people have been up to: Revision 1.15  2006/08/01 13:41:47  deshmukh
126     * Changes to this class. What the people have been up to: The wmps configuration has been modified and extended. Also fixed the javadoc.
127     * Changes to this class. What the people have been up to:
128     * Changes to this class. What the people have been up to: Revision 1.14  2006/07/31 11:21:07  deshmukh
129     * Changes to this class. What the people have been up to: wmps implemention...
130     * Changes to this class. What the people have been up to: Revision
131     * 1.13 2006/07/12 14:46:18 poth comment footer added
132     * 
133     **************************************************************************************************/