view flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeGroup.java @ 2746:4634cf5574f7

Let DurationCurveFacet provide relevant data via Blackboard. flys-artifacts/trunk@4481 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 May 2012 20:34:02 +0000
parents 83b22ccf48da
children 2f7fed1eb4bf
line wrap: on
line source
package de.intevation.flys.themes;

import java.util.Map;

import org.w3c.dom.Document;
import org.w3c.dom.Node;


/**
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
public class ThemeGroup {

    protected String name;

    protected Map<String, Theme> themes;


    public ThemeGroup(String name, Map<String, Theme> themes) {
        this.name = name;
        this.themes = themes;
    }

    public String getName() {
        return this.name;
    }

    public Map<String, Theme> getThemes() {
        return this.themes;
    }

    public Theme getThemeByName(String name) {
        return themes.get(name);
    }
}

http://dive4elements.wald.intevation.org