001 // $HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/ogcwebservices/SupportedSRSs.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; 037 038 import org.deegree.datatypes.CodeList; 039 040 /** 041 * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a> 042 * @author last edited by: $Author: mschneider $ 043 * 044 * @version $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $ 045 */ 046 047 public class SupportedSRSs { 048 private CodeList[] requestResponseSRSs = null; 049 050 private CodeList[] requestSRSs = null; 051 052 private CodeList[] responseSRSs = null; 053 054 private CodeList[] nativeSRSs = null; 055 056 /** 057 * @param requestResponseCRSs 058 * @param requestCRSs 059 * @param responseCRSs 060 * @param nativeCRSs 061 */ 062 public SupportedSRSs( CodeList[] requestResponseCRSs, CodeList[] requestCRSs, CodeList[] responseCRSs, 063 CodeList[] nativeCRSs ) { 064 setRequestSRSs( requestCRSs ); 065 setResponseSRSs( responseCRSs ); 066 setRequestResponseSRSs( requestResponseCRSs ); 067 setNativeSRSs( nativeCRSs ); 068 } 069 070 /** 071 * @return Returns the nativeSRSs. 072 */ 073 public CodeList[] getNativeSRSs() { 074 return nativeSRSs; 075 } 076 077 /** 078 * @param nativeSRSs 079 * The nativeSRSs to set. 080 */ 081 public void setNativeSRSs( CodeList[] nativeSRSs ) { 082 if ( nativeSRSs == null ) { 083 nativeSRSs = new CodeList[0]; 084 } 085 this.nativeSRSs = nativeSRSs; 086 } 087 088 /** 089 * @return Returns the requestSRSs. 090 */ 091 public CodeList[] getRequestSRSs() { 092 return requestSRSs; 093 } 094 095 /** 096 * @param requestSRSs 097 * The requestSRSs to set. 098 */ 099 public void setRequestSRSs( CodeList[] requestSRSs ) { 100 if ( requestSRSs == null ) { 101 requestSRSs = new CodeList[0]; 102 } 103 this.requestSRSs = requestSRSs; 104 } 105 106 /** 107 * @return Returns the requestResponseSRSs. 108 */ 109 public CodeList[] getRequestResponseSRSs() { 110 return requestResponseSRSs; 111 } 112 113 /** 114 * @param requestResponseSRSs 115 * The requestResponseSRSs to set. 116 */ 117 public void setRequestResponseSRSs( CodeList[] requestResponseSRSs ) { 118 if ( requestResponseSRSs == null ) { 119 requestResponseSRSs = new CodeList[0]; 120 } 121 this.requestResponseSRSs = requestResponseSRSs; 122 } 123 124 /** 125 * @return Returns the responseSRSs. 126 */ 127 public CodeList[] getResponseSRSs() { 128 return responseSRSs; 129 } 130 131 /** 132 * @param responseSRSs 133 * The responseSRSs to set. 134 */ 135 public void setResponseSRSs( CodeList[] responseSRSs ) { 136 if ( responseSRSs == null ) { 137 responseSRSs = new CodeList[0]; 138 } 139 this.responseSRSs = responseSRSs; 140 } 141 142 }