comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java @ 1414:3484cbfaf369

Create new Artifacts for selected WMS layers of the ExternalWMSWindow. flys-client/trunk@3304 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 22 Nov 2011 20:13:16 +0000
parents 63be3137abac
children 42d6cf6e10b7
comparison
equal deleted inserted replaced
1413:0d3bbe4240b1 1414:3484cbfaf369
5 import java.util.List; 5 import java.util.List;
6 6
7 7
8 public class WMSLayer implements Serializable { 8 public class WMSLayer implements Serializable {
9 9
10 protected String server;
10 protected String name; 11 protected String name;
11 protected String title; 12 protected String title;
12 13
13 protected List<WMSLayer> layers; 14 protected List<WMSLayer> layers;
14 15
16 public WMSLayer() { 17 public WMSLayer() {
17 layers = new ArrayList<WMSLayer>(); 18 layers = new ArrayList<WMSLayer>();
18 } 19 }
19 20
20 21
21 public WMSLayer(String title, String name, List<WMSLayer> layers) { 22 /**
23 * @param server
24 * @param title
25 * @param name
26 * @param layers
27 */
28 public WMSLayer(
29 String server,
30 String title,
31 String name,
32 List<WMSLayer> layers
33 ) {
34 this.server = server;
22 this.title = title; 35 this.title = title;
23 this.name = name; 36 this.name = name;
24 this.layers = layers; 37 this.layers = layers;
38 }
39
40
41 public String getServer() {
42 return server;
25 } 43 }
26 44
27 45
28 public String getName() { 46 public String getName() {
29 return name; 47 return name;

http://dive4elements.wald.intevation.org