001 // $HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/getcapabilities/ServiceProvider.java $ 002 /*---------------- FILE HEADER ------------------------------------------ 003 004 This file is part of deegree. 005 Copyright (C) 2001-2006 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.ogcwebservices.getcapabilities; 045 046 import org.deegree.datatypes.xlink.SimpleLink; 047 import org.deegree.model.metadata.iso19115.ContactInfo; 048 import org.deegree.model.metadata.iso19115.TypeCode; 049 050 /** 051 * Represents the ServiceProvider section of the capabilities of an OGC 052 * compliant web service according to the OGC Common Implementation 053 * Specification 0.3. 054 * 055 * This section corresponds to and expands the SV_ServiceProvider class in ISO 056 * 19119. 057 * 058 * @author <a href="mailto:mschneider@lat-lon.de">Markus Schneider </a> 059 * @author last edited by: $Author: bezema $ 060 * 061 * @version 2.0, $Revision: 6259 $ 062 * 063 * @since 2.0 064 */ 065 066 public class ServiceProvider { 067 068 private String providerName; 069 private SimpleLink providerSite; 070 private String individualName; 071 private String positionName; 072 private ContactInfo contactInfo; 073 074 private TypeCode role; 075 076 /** 077 * Constructs a new ServiceProvider object. 078 * 079 * @param providerName 080 * @param providerSite 081 * @param individualName 082 * @param positionName 083 * @param contactInfo 084 * @param role 085 */ 086 public ServiceProvider(String providerName, SimpleLink providerSite, 087 String individualName, String positionName, 088 ContactInfo contactInfo, TypeCode role) { 089 this.providerName = providerName; 090 this.providerSite = providerSite; 091 this.individualName = individualName; 092 this.positionName = positionName; 093 this.contactInfo = contactInfo; 094 this.role = role; 095 } 096 097 /** 098 * @return Returns the contactInfo. 099 * 100 */ 101 public ContactInfo getContactInfo() { 102 return contactInfo; 103 } 104 105 /** 106 * @param contactInfo 107 * The contactInfo to set. 108 * 109 */ 110 public void setContactInfo(ContactInfo contactInfo) { 111 this.contactInfo = contactInfo; 112 } 113 114 /** 115 * @return Returns the individualName. 116 * 117 */ 118 public String getIndividualName() { 119 return individualName; 120 } 121 122 /** 123 * @param individualName 124 * The individualName to set. 125 * 126 */ 127 public void setIndividualName(String individualName) { 128 this.individualName = individualName; 129 } 130 131 /** 132 * @return Returns the positionName. 133 * 134 */ 135 public String getPositionName() { 136 return positionName; 137 } 138 139 /** 140 * @param positionName 141 * The positionName to set. 142 * 143 */ 144 public void setPositionName(String positionName) { 145 this.positionName = positionName; 146 } 147 148 /** 149 * @return Returns the providerName. 150 * 151 */ 152 public String getProviderName() { 153 return providerName; 154 } 155 156 /** 157 * @param providerName 158 * The providerName to set. 159 * 160 */ 161 public void setProviderName(String providerName) { 162 this.providerName = providerName; 163 } 164 165 /** 166 * @return Returns the providerSite. 167 * 168 */ 169 public SimpleLink getProviderSite() { 170 return providerSite; 171 } 172 173 /** 174 * @param providerSite 175 * The providerSite to set. 176 * 177 */ 178 public void setProviderSite(SimpleLink providerSite) { 179 this.providerSite = providerSite; 180 } 181 /** 182 * @return Returns the role. 183 */ 184 public TypeCode getRole() { 185 return role; 186 } 187 /** 188 * @param role The role to set. 189 */ 190 public void setRole(TypeCode role) { 191 this.role = role; 192 } 193 } 194 /******************************************************************************* 195 * $Log$ 196 * Revision 1.9 2006/07/12 14:46:16 poth 197 * comment footer added 198 * 199 * Revision 1.8 2006/04/06 20:25:25 poth 200 * *** empty log message *** 201 * 202 * Revision 1.7 2006/04/04 20:39:42 poth 203 * *** empty log message *** 204 * 205 * Revision 1.6 2006/03/30 21:20:25 poth 206 * *** empty log message *** 207 * 208 * Revision 1.5 2005/06/10 07:07:39 poth 209 * no message 210 * 211 * Revision 1.4 2005/02/23 18:05:27 mschneider 212 * *** empty log message *** 213 * Revision 1.3 2005/02/23 13:48:59 mschneider 214 * *** empty log message *** Revision 1.2 2005/01/18 22:08:55 poth no message 215 * 216 * Revision 1.4 2004/07/12 06:12:11 ap no message 217 * 218 * Revision 1.3 2004/07/07 14:20:20 mschneider More work on the 219 * CatalogConfiguration and capabilities framework. For the 220 * CatalogConfiguration, the following sections should now be fully convertible 221 * in both directions (XML -> Java), (Java -> XML): deegreeParams, 222 * ServiceIdentification, ServiceProvider. 223 * 224 * Revision 1.2 2004/07/06 16:44:25 mschneider More work on CatalogConfiguration 225 * and CatalogConfigurationDocument. This includes the hierarchy of these 226 * classes. 227 * 228 ******************************************************************************//* ******************************************************************** 229 Changes to this class. What the people have been up to: 230 $Log$ 231 Revision 1.9 2006/07/12 14:46:16 poth 232 comment footer added 233 234 ********************************************************************** */