001 //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/owscommon_new/ServiceIdentification.java $ 002 /*---------------------------------------------------------------------------- 003 This file is part of deegree, http://deegree.org/ 004 Copyright (C) 2001-2009 by: 005 Department of Geography, University of Bonn 006 and 007 lat/lon GmbH 008 009 This library is free software; you can redistribute it and/or modify it under 010 the terms of the GNU Lesser General Public License as published by the Free 011 Software Foundation; either version 2.1 of the License, or (at your option) 012 any later version. 013 This library is distributed in the hope that it will be useful, but WITHOUT 014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 015 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 016 details. 017 You should have received a copy of the GNU Lesser General Public License 018 along with this library; if not, write to the Free Software Foundation, Inc., 019 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 020 021 Contact information: 022 023 lat/lon GmbH 024 Aennchenstr. 19, 53177 Bonn 025 Germany 026 http://lat-lon.de/ 027 028 Department of Geography, University of Bonn 029 Prof. Dr. Klaus Greve 030 Postfach 1147, 53001 Bonn 031 Germany 032 http://www.geographie.uni-bonn.de/deegree/ 033 034 e-mail: info@deegree.org 035 ----------------------------------------------------------------------------*/ 036 package org.deegree.owscommon_new; 037 038 import java.util.Date; 039 import java.util.List; 040 041 import org.deegree.datatypes.Code; 042 import org.deegree.model.metadata.iso19115.Constraints; 043 import org.deegree.model.metadata.iso19115.Keywords; 044 045 /** 046 * <code>ServiceIdentification</code> stores the contents of a ServiceIdentification element 047 * according to the OWS common specification version 1.0.0. 048 * 049 * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a> 050 * @author last edited by: $Author: mschneider $ 051 * 052 * @version 2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $ 053 * 054 * @since 2.0 055 */ 056 057 public class ServiceIdentification { 058 059 private Code serviceType = null; 060 061 private List<String> serviceTypeVersions = null; 062 063 private String title = null; 064 065 private List<String> alternativeTitles = null; 066 067 private Date date = null; 068 069 private String identifier = null; 070 071 private String abstractString = null; 072 073 private List<Keywords> keywords = null; 074 075 private List<Constraints> accessConstraints = null; 076 077 /** 078 * Standard constructor that initializes all encapsulated data. 079 * 080 * @param serviceType 081 * @param serviceTypeVersions 082 * @param title 083 * @param alternativeTitles 084 * @param date 085 * @param identifier 086 * @param abstractString 087 * @param keywords 088 * @param accessConstraints 089 * 090 */ 091 public ServiceIdentification( Code serviceType, List<String> serviceTypeVersions, String title, 092 List<String> alternativeTitles, Date date, String identifier, String abstractString, 093 List<Keywords> keywords, List<Constraints> accessConstraints ) { 094 this.serviceType = serviceType; 095 this.serviceTypeVersions = serviceTypeVersions; 096 this.title = title; 097 this.alternativeTitles = alternativeTitles; 098 this.date = date; 099 this.identifier = identifier; 100 this.abstractString = abstractString; 101 this.keywords = keywords; 102 this.accessConstraints = accessConstraints; 103 } 104 105 /** 106 * @return Returns the abstractString. 107 */ 108 public String getAbstractString() { 109 return abstractString; 110 } 111 112 /** 113 * @return Returns the accessConstraints. 114 */ 115 public List<Constraints> getAccessConstraints() { 116 return accessConstraints; 117 } 118 119 /** 120 * @return Returns the alternativeTitles. 121 */ 122 public List<String> getAlternativeTitles() { 123 return alternativeTitles; 124 } 125 126 /** 127 * @return Returns the date. 128 */ 129 public Date getDate() { 130 return date; 131 } 132 133 /** 134 * @return Returns the identifier. 135 */ 136 public String getIdentifier() { 137 return identifier; 138 } 139 140 /** 141 * @return Returns the keywords. 142 */ 143 public List<Keywords> getKeywords() { 144 return keywords; 145 } 146 147 /** 148 * @return Returns the serviceType. 149 */ 150 public Code getServiceType() { 151 return serviceType; 152 } 153 154 /** 155 * @return Returns the serviceTypeVersions. 156 */ 157 public List<String> getServiceTypeVersions() { 158 return serviceTypeVersions; 159 } 160 161 /** 162 * @return Returns the title. 163 */ 164 public String getTitle() { 165 return title; 166 } 167 168 }