teichmann@5863: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
teichmann@5863: * Software engineering by Intevation GmbH
teichmann@5863: *
teichmann@5863: * This file is Free Software under the GNU AGPL (>=v3)
teichmann@5863: * and comes with ABSOLUTELY NO WARRANTY! Check out the
teichmann@5863: * documentation coming with Dive4Elements River for details.
teichmann@5863: */
teichmann@5863:
teichmann@5831: package org.dive4elements.river.themes;
raimund@2737:
raimund@2737: import java.util.Map;
raimund@2737:
raimund@2737: /**
raimund@2737: * @author Raimund Renkert
raimund@2737: */
raimund@2737: public class ThemeGroup {
raimund@2737:
raimund@2737: protected String name;
raimund@2737:
raimund@2737: protected Map themes;
raimund@2737:
raimund@2737:
raimund@2737: public ThemeGroup(String name, Map themes) {
raimund@2737: this.name = name;
raimund@2737: this.themes = themes;
raimund@2737: }
raimund@2737:
raimund@2737: public String getName() {
raimund@2737: return this.name;
raimund@2737: }
raimund@2737:
raimund@2737: public Map getThemes() {
raimund@2737: return this.themes;
raimund@2737: }
raimund@2737:
raimund@2737: public Theme getThemeByName(String name) {
raimund@2737: return themes.get(name);
raimund@2737: }
raimund@2737: }
sascha@3083: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :