001: //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/trunk/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 08:39:07 -0800 (Thu, 27 Dec 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, List<Constraints> accessConstraints) {
104: this .serviceType = serviceType;
105: this .serviceTypeVersions = serviceTypeVersions;
106: this .title = title;
107: this .alternativeTitles = alternativeTitles;
108: this .date = date;
109: this .identifier = identifier;
110: this .abstractString = abstractString;
111: this .keywords = keywords;
112: this .accessConstraints = accessConstraints;
113: }
114:
115: /**
116: * @return Returns the abstractString.
117: */
118: public String getAbstractString() {
119: return abstractString;
120: }
121:
122: /**
123: * @return Returns the accessConstraints.
124: */
125: public List<Constraints> getAccessConstraints() {
126: return accessConstraints;
127: }
128:
129: /**
130: * @return Returns the alternativeTitles.
131: */
132: public List<String> getAlternativeTitles() {
133: return alternativeTitles;
134: }
135:
136: /**
137: * @return Returns the date.
138: */
139: public Date getDate() {
140: return date;
141: }
142:
143: /**
144: * @return Returns the identifier.
145: */
146: public String getIdentifier() {
147: return identifier;
148: }
149:
150: /**
151: * @return Returns the keywords.
152: */
153: public List<Keywords> getKeywords() {
154: return keywords;
155: }
156:
157: /**
158: * @return Returns the serviceType.
159: */
160: public Code getServiceType() {
161: return serviceType;
162: }
163:
164: /**
165: * @return Returns the serviceTypeVersions.
166: */
167: public List<String> getServiceTypeVersions() {
168: return serviceTypeVersions;
169: }
170:
171: /**
172: * @return Returns the title.
173: */
174: public String getTitle() {
175: return title;
176: }
177:
178: }
|