Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java @ 524:ba238f917b94
The theme list information stored in the attribute of a collection is read and added in form of Themes and ThemeLists to the Collection.
flys-client/trunk@2003 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 25 May 2011 13:42:04 +0000 |
parents | 0785a8ba5e6d |
children | 5277f46a63c2 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Wed May 25 11:34:34 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Wed May 25 13:42:04 2011 +0000 @@ -12,19 +12,19 @@ protected boolean active; - protected Facet facet; + protected Theme theme; - public FacetRecord(Facet facet) { - this.facet = facet; + public FacetRecord(Theme theme) { + this.theme = theme; - setActive(true); - setName(facet.getName()); + setActive(theme.isActive()); + setName(theme.getFacet()); } - public Facet getFacet() { - return facet; + public Theme getTheme() { + return theme; }