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