001 //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/portal/standard/wms/control/layertree/LayerBean.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.portal.standard.wms.control.layertree; 037 038 /** 039 * TODO add class documentation here 040 * 041 * @author <a href="mailto:name@deegree.org">Andreas Poth</a> 042 * @author last edited by: $Author: apoth $ 043 * 044 * @version $Revision: 21879 $, $Date: 2010-01-12 09:36:59 +0100 (Di, 12 Jan 2010) $ 045 */ 046 public class LayerBean { 047 048 private String wmsName; 049 050 private String name; 051 052 private String serviceType; 053 054 private String serviceURL; 055 056 private String format; 057 058 /** 059 * 060 * @param wmsName 061 * @param name 062 * @param serviceType 063 * @param serviceURL 064 * @param format 065 */ 066 public LayerBean( String wmsName, String name, String serviceType, String serviceURL, String format ) { 067 super(); 068 this.wmsName = wmsName; 069 this.name = name; 070 this.serviceType = serviceType; 071 this.serviceURL = serviceURL; 072 this.format = format; 073 } 074 075 /** 076 * @return the format 077 */ 078 public String getFormat() { 079 return format; 080 } 081 082 /** 083 * @param format 084 * the format to set 085 */ 086 public void setFormat( String format ) { 087 this.format = format; 088 } 089 090 /** 091 * @return the serviceType 092 */ 093 public String getServiceType() { 094 return serviceType; 095 } 096 097 /** 098 * @param serviceType 099 * the serviceType to set 100 */ 101 public void setServiceType( String serviceType ) { 102 this.serviceType = serviceType; 103 } 104 105 /** 106 * @return the serviceURL 107 */ 108 public String getServiceURL() { 109 return serviceURL; 110 } 111 112 /** 113 * @param serviceURL 114 * the serviceURL to set 115 */ 116 public void setServiceURL( String serviceURL ) { 117 this.serviceURL = serviceURL; 118 } 119 120 /** 121 * @return the wmsName 122 */ 123 public String getWmsName() { 124 return wmsName; 125 } 126 127 /** 128 * @param wmsName 129 * the wmsName to set 130 */ 131 public void setWmsName( String wmsName ) { 132 this.wmsName = wmsName; 133 } 134 135 /** 136 * @return the name 137 */ 138 public String getName() { 139 return name; 140 } 141 142 /** 143 * @param name 144 * the name to set 145 */ 146 public void setName( String name ) { 147 this.name = name; 148 } 149 150 }