ingo@1115: /* ingo@1115: * Copyright (c) 2010 by Intevation GmbH ingo@1115: * ingo@1115: * This program is free software under the LGPL (>=v2.1) ingo@1115: * Read the file LGPL.txt coming with the software for details ingo@1115: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1115: */ ingo@1115: tim@597: package de.intevation.gnv.artifacts.services.requestobjects; tim@597: tim@597: import java.util.Collection; tim@597: tim@597: /** tim@826: * The default Implementation of MapService. sascha@803: * sascha@780: * @author Tim Englich tim@597: * tim@597: */ tim@597: public class DefaultMapService implements MapService { tim@597: tim@826: /** tim@826: * The id of the Mapservice tim@826: */ tim@597: private String id = null; sascha@778: tim@826: /** tim@826: * The Layer which belongs to the Mapservice tim@826: */ tim@597: private Collection layer = null; sascha@778: tim@826: /** tim@826: * The Type of the Mapservice tim@826: */ tim@597: private String type = null; sascha@778: tim@826: /** tim@826: * The Url under which the Mapservice could be accessed. tim@826: */ tim@597: private String url = null; sascha@803: tim@597: /** tim@597: * Constructor ingo@792: * @param id The id of this service. ingo@792: * @param type The type of this service. ingo@792: * @param layer The layers available in this service. ingo@792: * @param url The url used to call this service. tim@597: */ sascha@778: public DefaultMapService(String id, Collection layer, tim@597: String type, String url) { tim@597: super(); tim@597: this.id = id; tim@597: this.layer = layer; tim@597: this.type = type; tim@597: this.url = url; tim@597: } tim@597: tim@597: public String getID() { tim@597: return this.id; tim@597: } tim@597: tim@597: public Collection getLayer() { tim@597: return this.layer; tim@597: } tim@597: tim@597: public String getType() { tim@597: return this.type; tim@597: } tim@597: tim@597: public String getURL() { tim@597: return this.url; tim@597: } tim@597: } sascha@836: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :