001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/branches/2.2_testing/src/org/deegree/owscommon_new/ServiceIdentification.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003    
004     This file is part of deegree.
005     Copyright (C) 2001-2008 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     Aennchenstr. 19
030     53115 Bonn
031     Germany
032     E-Mail: poth@lat-lon.de
033    
034     Prof. Dr. Klaus Greve
035     Department of Geography
036     University of Bonn
037     Meckenheimer Allee 166
038     53115 Bonn
039     Germany
040     E-Mail: greve@giub.uni-bonn.de
041    
042     
043     ---------------------------------------------------------------------------*/
044    package org.deegree.owscommon_new;
045    
046    import java.util.Date;
047    import java.util.List;
048    
049    import org.deegree.datatypes.Code;
050    import org.deegree.model.metadata.iso19115.Constraints;
051    import org.deegree.model.metadata.iso19115.Keywords;
052    
053    /**
054     * <code>ServiceIdentification</code> stores the contents of a ServiceIdentification
055     * element according to the OWS common specification version 1.0.0.
056     * 
057     * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
058     * @author last edited by: $Author: apoth $
059     * 
060     * @version 2.0, $Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
061     * 
062     * @since 2.0
063     */
064    
065    public class ServiceIdentification {
066    
067        private Code serviceType = null;
068        
069        private List<String> serviceTypeVersions = null;
070        
071        private String title = null;
072        
073        private List<String> alternativeTitles = null;
074        
075        private Date date = null;
076        
077        private String identifier = null;
078        
079        private String abstractString = null;
080        
081        private List<Keywords> keywords = null;
082        
083        private List<Constraints> accessConstraints = null;
084    
085        /**
086         * Standard constructor that initializes all encapsulated data.
087         * 
088         * @param serviceType 
089         * @param serviceTypeVersions 
090         * @param title 
091         * @param alternativeTitles 
092         * @param date 
093         * @param identifier 
094         * @param abstractString 
095         * @param keywords 
096         * @param accessConstraints 
097         * 
098         */
099        public ServiceIdentification( Code serviceType,
100                                      List<String> serviceTypeVersions, String title,
101                                      List<String> alternativeTitles, Date date,
102                                      String identifier, String abstractString,
103                                      List<Keywords> keywords,
104                                      List<Constraints> accessConstraints ) {
105            this.serviceType = serviceType;
106            this.serviceTypeVersions = serviceTypeVersions;
107            this.title = title;
108            this.alternativeTitles = alternativeTitles;
109            this.date = date;
110            this.identifier = identifier;
111            this.abstractString = abstractString;
112            this.keywords = keywords;
113            this.accessConstraints = accessConstraints;
114        }
115        
116        /**
117         * @return Returns the abstractString.
118         */
119        public String getAbstractString() {
120            return abstractString;
121        }
122    
123        /**
124         * @return Returns the accessConstraints.
125         */
126        public List<Constraints> getAccessConstraints() {
127            return accessConstraints;
128        }
129    
130        /**
131         * @return Returns the alternativeTitles.
132         */
133        public List<String> getAlternativeTitles() {
134            return alternativeTitles;
135        }
136    
137        /**
138         * @return Returns the date.
139         */
140        public Date getDate() {
141            return date;
142        }
143    
144        /**
145         * @return Returns the identifier.
146         */
147        public String getIdentifier() {
148            return identifier;
149        }
150    
151        /**
152         * @return Returns the keywords.
153         */
154        public List<Keywords> getKeywords() {
155            return keywords;
156        }
157    
158        /**
159         * @return Returns the serviceType.
160         */
161        public Code getServiceType() {
162            return serviceType;
163        }
164    
165        /**
166         * @return Returns the serviceTypeVersions.
167         */
168        public List<String> getServiceTypeVersions() {
169            return serviceTypeVersions;
170        }
171    
172        /**
173         * @return Returns the title.
174         */
175        public String getTitle() {
176            return title;
177        }
178        
179    }