view gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/DefaultMapService.java @ 959:0846c9c4abdd

Add more Javadocs gnv/trunk@1103 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 18 May 2010 10:00:27 +0000
parents 89ade245ca7a
children cfc7bd35ee0b
line wrap: on
line source
package de.intevation.gnv.artifactdatabase.objects.map;

import java.util.Collection;

/**
 * The default implementation of <code>MapService</code>.
 *
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 */
public class DefaultMapService implements MapService {

    /**
     * The id of this mapservice.
     */
    private String id = null;

    /**
     * The layer which are provided by this mapservice.
     */
    private Collection<Layer> layer = null;

    /**
     * The type of this mapservice.
     */
    private String type = null;

    /**
     * The URl of this mapservice.
     */
    private String url = null;

    /**
     * Constructor
     * 
     * @param id  the id of this mapservice
     * @param layer the layer which are provided by this mapservice
     * @param type the type of this mapservice
     * @param url the URl of this mapservice
     */
    public DefaultMapService(String id, Collection<Layer> layer,
                             String type, String url) {
        super();
        this.id = id;
        this.layer = layer;
        this.type = type;
        this.url = url;
    }


    public String getID() {
        return this.id;
    }


    public Collection<Layer> getLayer() {
        return this.layer;
    }


    public String getType() {
        return this.type;
    }


    public String getURL() {
        return this.url;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org