view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1145:b33a350d79db

Append an attribute 'background-processing' (can be 'true' or 'false') to the WINFOArtifact's DESCRIBE document. flys-artifacts/trunk@2668 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 07 Sep 2011 13:56:10 +0000
parents c8c753931514
children 1636686070f7
line wrap: on
line source
package de.intevation.flys.artifacts.model;


public class LayerInfo {

    protected String name;
    protected String type;
    protected String directory;
    protected String data;
    protected String group;
    protected String groupTitle;
    protected String title;


    public LayerInfo(
        String name,
        String type,
        String directory,
        String data,
        String title)
    {
        this(name, type, directory, data, title, null, null);
    }


    public LayerInfo(
        String name,
        String type,
        String directory,
        String data,
        String title,
        String group,
        String groupTitle
    ) {
        this.name       = name;
        this.type       = type;
        this.directory  = directory;
        this.data       = data;
        this.group      = group;
        this.groupTitle = groupTitle;
        this.title      = title;
    }


    public String getName() {
        return name;
    }


    public String getType() {
        return type;
    }


    public String getDirectory() {
        return directory;
    }


    public String getData() {
        return data;
    }


    public String getGroup() {
        return group;
    }


    public String getGroupTitle() {
        return groupTitle;
    }


    public String getTitle() {
        return title;
    }


    public String getStyle() {
        // TODO IMPLEMENT ME
        // The style of a layer depends on the theme that might be configured
        // by the user (stored in the attribute of the CollectionItem).
        return null;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org