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