view gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 402:b88e881e8e94

Added the first Implementation (not complete and not ready to use) for the Interface from the MapViewer to the GNV gnv/trunk@573 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 19 Jan 2010 14:47:36 +0000
parents
children 15ac78a91d1b
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.artifactdatabase.objects.map;

import java.util.Collection;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class DefaultMapService implements MapService {

    private String id = null;
    


    private Collection<Layer> layer = null;
    
    private String type = null;
    
    private String url = null;
    /**
     * Constructor
     */
    public DefaultMapService(String id, Collection<Layer> layer, 
                             String type, String url) {
        super();
        this.id = id;
        this.layer = layer;
        this.type = type;
        this.url = url;
    }

    /**
     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getID()
     */
    public String getID() {
        return this.id;
    }

    /**
     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getLayer()
     */
    public Collection<Layer> getLayer() {
        return this.layer;
    }

    /**
     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getType()
     */
    public String getType() {
        return this.type;
    }

    /**
     * @see de.intevation.gnv.artifactdatabase.objects.map.MapService#getURL()
     */
    public String getURL() {
        return this.url;
    }

}

http://dive4elements.wald.intevation.org