001 // $HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/branches/2.2_testing/src/org/deegree/ogcwebservices/getcapabilities/ServiceProvider.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.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 compliant web service
052 * according to the OGC Common Implementation Specification 0.3.
053 *
054 * This section corresponds to and expands the SV_ServiceProvider class in ISO 19119.
055 *
056 * @author <a href="mailto:mschneider@lat-lon.de">Markus Schneider </a>
057 * @author last edited by: $Author: apoth $
058 *
059 * @version 2.0, $Revision: 9345 $
060 *
061 * @since 2.0
062 */
063
064 public class ServiceProvider {
065
066 private String providerName;
067
068 private SimpleLink providerSite;
069
070 private String individualName;
071
072 private String positionName;
073
074 private ContactInfo contactInfo;
075
076 private TypeCode role;
077
078 /**
079 * Constructs a new ServiceProvider object.
080 *
081 * @param providerName
082 * @param providerSite
083 * @param individualName
084 * @param positionName
085 * @param contactInfo
086 * @param role
087 */
088 public ServiceProvider( String providerName, SimpleLink providerSite, String individualName, String positionName,
089 ContactInfo contactInfo, TypeCode role ) {
090 this.providerName = providerName;
091 this.providerSite = providerSite;
092 this.individualName = individualName;
093 this.positionName = positionName;
094 this.contactInfo = contactInfo;
095 this.role = role;
096 }
097
098 /**
099 * @return Returns the contactInfo.
100 *
101 */
102 public ContactInfo getContactInfo() {
103 return contactInfo;
104 }
105
106 /**
107 * @param contactInfo
108 * The contactInfo to set.
109 *
110 */
111 public void setContactInfo( ContactInfo contactInfo ) {
112 this.contactInfo = contactInfo;
113 }
114
115 /**
116 * @return Returns the individualName.
117 *
118 */
119 public String getIndividualName() {
120 return individualName;
121 }
122
123 /**
124 * @param individualName
125 * The individualName to set.
126 *
127 */
128 public void setIndividualName( String individualName ) {
129 this.individualName = individualName;
130 }
131
132 /**
133 * @return Returns the positionName.
134 *
135 */
136 public String getPositionName() {
137 return positionName;
138 }
139
140 /**
141 * @param positionName
142 * The positionName to set.
143 *
144 */
145 public void setPositionName( String positionName ) {
146 this.positionName = positionName;
147 }
148
149 /**
150 * @return Returns the providerName.
151 *
152 */
153 public String getProviderName() {
154 return providerName;
155 }
156
157 /**
158 * @param providerName
159 * The providerName to set.
160 *
161 */
162 public void setProviderName( String providerName ) {
163 this.providerName = providerName;
164 }
165
166 /**
167 * @return Returns the providerSite.
168 *
169 */
170 public SimpleLink getProviderSite() {
171 return providerSite;
172 }
173
174 /**
175 * @param providerSite
176 * The providerSite to set.
177 *
178 */
179 public void setProviderSite( SimpleLink providerSite ) {
180 this.providerSite = providerSite;
181 }
182
183 /**
184 * @return Returns the role.
185 */
186 public TypeCode getRole() {
187 return role;
188 }
189
190 /**
191 * @param role
192 * The role to set.
193 */
194 public void setRole( TypeCode role ) {
195 this.role = role;
196 }
197 }