Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeGroup.java @ 2793:6310b1582f2d
merged flys-artifacts/2.7
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:30 +0200 |
parents | 2f7fed1eb4bf |
children | 4bd3d8bbb60c |
comparison
equal
deleted
inserted
replaced
2548:ada02bbd3b7f | 2793:6310b1582f2d |
---|---|
1 package de.intevation.flys.themes; | |
2 | |
3 import java.util.Map; | |
4 | |
5 | |
6 | |
7 /** | |
8 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
9 */ | |
10 public class ThemeGroup { | |
11 | |
12 protected String name; | |
13 | |
14 protected Map<String, Theme> themes; | |
15 | |
16 | |
17 public ThemeGroup(String name, Map<String, Theme> themes) { | |
18 this.name = name; | |
19 this.themes = themes; | |
20 } | |
21 | |
22 public String getName() { | |
23 return this.name; | |
24 } | |
25 | |
26 public Map<String, Theme> getThemes() { | |
27 return this.themes; | |
28 } | |
29 | |
30 public Theme getThemeByName(String name) { | |
31 return themes.get(name); | |
32 } | |
33 } |