view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1747:d2a17e990c70

Improved the Themes: we now support special themes for facets which need to match a given pattern string. flys-artifacts/trunk@3047 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 20 Oct 2011 13:45:45 +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