Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java @ 1411:63be3137abac
Parse and display WMS layers supported by a user specified WMS service.
flys-client/trunk@3298 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 21 Nov 2011 21:00:03 +0000 |
parents | |
children | 3484cbfaf369 |
comparison
equal
deleted
inserted
replaced
1410:6bb2c1ffab2b | 1411:63be3137abac |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 import java.util.ArrayList; | |
5 import java.util.List; | |
6 | |
7 | |
8 public class WMSLayer implements Serializable { | |
9 | |
10 protected String name; | |
11 protected String title; | |
12 | |
13 protected List<WMSLayer> layers; | |
14 | |
15 | |
16 public WMSLayer() { | |
17 layers = new ArrayList<WMSLayer>(); | |
18 } | |
19 | |
20 | |
21 public WMSLayer(String title, String name, List<WMSLayer> layers) { | |
22 this.title = title; | |
23 this.name = name; | |
24 this.layers = layers; | |
25 } | |
26 | |
27 | |
28 public String getName() { | |
29 return name; | |
30 } | |
31 | |
32 | |
33 public String getTitle() { | |
34 return title; | |
35 } | |
36 | |
37 | |
38 public List<WMSLayer> getLayers() { | |
39 return layers; | |
40 } | |
41 } | |
42 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |