001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/owscommon_new/ServiceProvider.java $ 002 /*---------------- FILE HEADER ------------------------------------------ 003 This file is part of deegree. 004 Copyright (C) 2001-2006 by: 005 Department of Geography, University of Bonn 006 http://www.giub.uni-bonn.de/deegree/ 007 lat/lon GmbH 008 http://www.lat-lon.de 009 This library is free software; you can redistribute it and/or 010 modify it under the terms of the GNU Lesser General Public 011 License as published by the Free Software Foundation; either 012 version 2.1 of the License, or (at your option) any later version. 013 This library is distributed in the hope that it will be useful, 014 but WITHOUT ANY WARRANTY; without even the implied warranty of 015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 016 Lesser General Public License for more details. 017 You should have received a copy of the GNU Lesser General Public 018 License along with this library; if not, write to the Free Software 019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 020 Contact: 021 Andreas Poth 022 lat/lon GmbH 023 Aennchenstraße 19 024 53177 Bonn 025 Germany 026 E-Mail: poth@lat-lon.de 027 Jens Fitzke 028 lat/lon GmbH 029 Aennchenstraße 19 030 53177 Bonn 031 Germany 032 E-Mail: jens.fitzke@uni-bonn.de 033 ---------------------------------------------------------------------------*/ 034 package org.deegree.owscommon_new; 035 036 import org.deegree.model.metadata.iso19115.CitedResponsibleParty; 037 import org.deegree.model.metadata.iso19115.OnlineResource; 038 039 /** 040 * <code>ServiceProvider</code> stores metadata contained within a 041 * ServiceProvider element according to the OWS common specification 042 * version 1.0.0. 043 * 044 * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a> 045 * @author last edited by: $Author: bezema $ 046 * 047 * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $ 048 * 049 * @since 2.0 050 */ 051 052 public class ServiceProvider { 053 054 private String providerName = null; 055 056 private OnlineResource providerSite = null; 057 058 private CitedResponsibleParty serviceContact = null; 059 060 /** 061 * Standard constructor that initializes all encapsulated data. 062 * 063 * @param providerName 064 * @param providerSite 065 * @param serviceContact 066 */ 067 public ServiceProvider( String providerName, OnlineResource providerSite, 068 CitedResponsibleParty serviceContact ) { 069 this.providerName = providerName; 070 this.providerSite = providerSite; 071 this.serviceContact = serviceContact; 072 } 073 074 /** 075 * @return Returns the providerName. 076 */ 077 public String getProviderName() { 078 return providerName; 079 } 080 081 /** 082 * @return Returns the providerSite. 083 */ 084 public OnlineResource getProviderSite() { 085 return providerSite; 086 } 087 088 /** 089 * @return Returns the serviceContact. 090 */ 091 public CitedResponsibleParty getServiceContact() { 092 return serviceContact; 093 } 094 095 096 097 } 098 099 100 /* ******************************************************************** 101 Changes to this class. What the people have been up to: 102 $Log$ 103 Revision 1.2 2006/08/24 06:43:04 poth 104 File header corrected 105 106 Revision 1.1 2006/08/23 07:10:22 schmitz 107 Renamed the owscommon_neu package to owscommon_new. 108 109 Revision 1.1 2006/08/01 11:46:07 schmitz 110 Added data classes for the new OWS common capabilities framework 111 according to the OWS 1.0.0 common specification. 112 Added name to service identification. 113 114 115 116 ********************************************************************** */