Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java Mon Nov 21 21:00:03 2011 +0000 @@ -0,0 +1,42 @@ +package de.intevation.flys.client.shared.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; + + +public class WMSLayer implements Serializable { + + protected String name; + protected String title; + + protected List<WMSLayer> layers; + + + public WMSLayer() { + layers = new ArrayList<WMSLayer>(); + } + + + public WMSLayer(String title, String name, List<WMSLayer> layers) { + this.title = title; + this.name = name; + this.layers = layers; + } + + + public String getName() { + return name; + } + + + public String getTitle() { + return title; + } + + + public List<WMSLayer> getLayers() { + return layers; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :