001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/owscommon_new/ServiceIdentification.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.Date;
037    import java.util.List;
038    
039    import org.deegree.datatypes.Code;
040    import org.deegree.model.metadata.iso19115.Constraints;
041    import org.deegree.model.metadata.iso19115.Keywords;
042    
043    /**
044     * <code>ServiceIdentification</code> stores the contents of a ServiceIdentification
045     * element according to the OWS common specification version 1.0.0.
046     * 
047     * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
048     * @author last edited by: $Author: bezema $
049     * 
050     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
051     * 
052     * @since 2.0
053     */
054    
055    public class ServiceIdentification {
056    
057        private Code serviceType = null;
058        
059        private List<String> serviceTypeVersions = null;
060        
061        private String title = null;
062        
063        private List<String> alternativeTitles = null;
064        
065        private Date date = null;
066        
067        private String identifier = null;
068        
069        private String abstractString = null;
070        
071        private List<Keywords> keywords = null;
072        
073        private List<Constraints> accessConstraints = null;
074    
075        /**
076         * Standard constructor that initializes all encapsulated data.
077         * 
078         * @param serviceType 
079         * @param serviceTypeVersions 
080         * @param title 
081         * @param alternativeTitles 
082         * @param date 
083         * @param identifier 
084         * @param abstractString 
085         * @param keywords 
086         * @param accessConstraints 
087         * 
088         */
089        public ServiceIdentification( Code serviceType,
090                                      List<String> serviceTypeVersions, String title,
091                                      List<String> alternativeTitles, Date date,
092                                      String identifier, String abstractString,
093                                      List<Keywords> keywords,
094                                      List<Constraints> accessConstraints ) {
095            this.serviceType = serviceType;
096            this.serviceTypeVersions = serviceTypeVersions;
097            this.title = title;
098            this.alternativeTitles = alternativeTitles;
099            this.date = date;
100            this.identifier = identifier;
101            this.abstractString = abstractString;
102            this.keywords = keywords;
103            this.accessConstraints = accessConstraints;
104        }
105        
106        /**
107         * @return Returns the abstractString.
108         */
109        public String getAbstractString() {
110            return abstractString;
111        }
112    
113        /**
114         * @return Returns the accessConstraints.
115         */
116        public List<Constraints> getAccessConstraints() {
117            return accessConstraints;
118        }
119    
120        /**
121         * @return Returns the alternativeTitles.
122         */
123        public List<String> getAlternativeTitles() {
124            return alternativeTitles;
125        }
126    
127        /**
128         * @return Returns the date.
129         */
130        public Date getDate() {
131            return date;
132        }
133    
134        /**
135         * @return Returns the identifier.
136         */
137        public String getIdentifier() {
138            return identifier;
139        }
140    
141        /**
142         * @return Returns the keywords.
143         */
144        public List<Keywords> getKeywords() {
145            return keywords;
146        }
147    
148        /**
149         * @return Returns the serviceType.
150         */
151        public Code getServiceType() {
152            return serviceType;
153        }
154    
155        /**
156         * @return Returns the serviceTypeVersions.
157         */
158        public List<String> getServiceTypeVersions() {
159            return serviceTypeVersions;
160        }
161    
162        /**
163         * @return Returns the title.
164         */
165        public String getTitle() {
166            return title;
167        }
168        
169    }
170    
171    
172    /* ********************************************************************
173    Changes to this class. What the people have been up to:
174    $Log$
175    Revision 1.2  2006/08/24 06:43:04  poth
176    File header corrected
177    
178    Revision 1.1  2006/08/23 07:10:22  schmitz
179    Renamed the owscommon_neu package to owscommon_new.
180    
181    Revision 1.1  2006/08/01 11:46:07  schmitz
182    Added data classes for the new OWS common capabilities framework
183    according to the OWS 1.0.0 common specification.
184    Added name to service identification.
185    
186    
187    
188    ********************************************************************** */