001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/owscommon_new/OWSCommonCapabilities.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003     This file is part of deegree.
004     Copyright (C) 2001-2006 by:
005     Department of Geography, University of Bonn
006     http://www.giub.uni-bonn.de/deegree/
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     Andreas Poth
022     lat/lon GmbH
023     Aennchenstraße 19
024     53177 Bonn
025     Germany
026     E-Mail: poth@lat-lon.de
027     Jens Fitzke
028     lat/lon GmbH
029     Aennchenstraße 19
030     53177 Bonn
031     Germany
032     E-Mail: jens.fitzke@uni-bonn.de
033     ---------------------------------------------------------------------------*/
034    package org.deegree.owscommon_new;
035    
036    import java.util.Map;
037    
038    /**
039     * <code>OWSCommonCapabilities</code> stores the basic information common to all
040     * OGC capabilities documents according to the OWS common specification version 1.0.0.
041     * It is designed to be used by all OGC web services. The service specific content should
042     * go into a subclass of the <code>Content</code> class.
043     * 
044     * @see Content
045     * 
046     * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
047     * @author last edited by: $Author: bezema $
048     * 
049     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
050     * 
051     * @since 2.0
052     */
053    
054    public class OWSCommonCapabilities {
055    
056        private String version = null;
057        
058        private String updateSequence = null;
059        
060        private ServiceIdentification serviceIdentification = null;
061        
062        private ServiceProvider serviceProvider = null;
063        
064        private OperationsMetadata operationsMetadata = null;
065        
066        private Map<String, Content> contents = null;
067    
068        /**
069         * Standard constructor that initializes all encapsulated data.
070         * 
071         * @param version
072         * @param updateSequence
073         * @param serviceIdentification
074         * @param serviceProvider
075         * @param operationsMetadata
076         * @param contents
077         */
078        public OWSCommonCapabilities( String version, String updateSequence,
079                                      ServiceIdentification serviceIdentification,
080                                      ServiceProvider serviceProvider,
081                                      OperationsMetadata operationsMetadata,
082                                      Map<String, Content> contents ) {
083            this.version = version;
084            this.updateSequence = updateSequence;
085            this.serviceIdentification = serviceIdentification;
086            this.serviceProvider = serviceProvider;
087            this.operationsMetadata = operationsMetadata;
088            this.contents = contents;
089        }
090                                      
091        /**
092         * @return Returns the contents.
093         */
094        public Map<String, Content> getContents() {
095            return contents;
096        }
097    
098        /**
099         * @return Returns the operationsMetadata.
100         */
101        public OperationsMetadata getOperationsMetadata() {
102            return operationsMetadata;
103        }
104    
105        /**
106         * @return Returns the serviceIdentification.
107         */
108        public ServiceIdentification getServiceIdentification() {
109            return serviceIdentification;
110        }
111    
112        /**
113         * @return Returns the serviceProvider.
114         */
115        public ServiceProvider getServiceProvider() {
116            return serviceProvider;
117        }
118    
119        /**
120         * @return Returns the updateSequence.
121         */
122        public String getUpdateSequence() {
123            return updateSequence;
124        }
125    
126        /**
127         * @return Returns the version.
128         */
129        public String getVersion() {
130            return version;
131        }
132        
133    }
134    
135    
136    /* ********************************************************************
137    Changes to this class. What the people have been up to:
138    $Log$
139    Revision 1.2  2006/08/24 06:43:04  poth
140    File header corrected
141    
142    Revision 1.1  2006/08/23 07:10:21  schmitz
143    Renamed the owscommon_neu package to owscommon_new.
144    
145    Revision 1.1  2006/08/01 11:46:07  schmitz
146    Added data classes for the new OWS common capabilities framework
147    according to the OWS 1.0.0 common specification.
148    Added name to service identification.
149    
150    
151    
152    ********************************************************************** */