comparison gnv-artifacts/src/main/java/de/intevation/gnv/wms/LayerInfo.java @ 622:89aca25642d6

Implemented method stubs of MapfileGenerator. Mapfiles are successfully created corresponding meta.xml files. gnv-artifacts/trunk@693 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 19 Feb 2010 13:28:34 +0000
parents
children 452fad121560
comparison
equal deleted inserted replaced
621:567216b56983 622:89aca25642d6
1 package de.intevation.gnv.wms;
2
3 /**
4 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de)
5 */
6 public class LayerInfo {
7
8 public static final String LAYER = "layer";
9 public static final String LAYER_MODEL = "model";
10 public static final String LAYER_NAME = "name";
11 public static final String LAYER_TYPE = "type";
12 public static final String LAYER_DATA = "data";
13 public static final String LAYER_STATUS = "status";
14
15 private String name;
16 private String type;
17 private String data;
18 private String status;
19 private String model;
20
21
22 public LayerInfo() {
23 }
24
25
26 public void setData(String data) {
27 this.data = data;
28 }
29
30 public String getData() {
31 return data;
32 }
33
34 public void setName(String name) {
35 this.name = name;
36 }
37
38 public String getName() {
39 return name;
40 }
41
42 public void setModel(String model) {
43 this.model = model;
44 }
45
46 public String getModel() {
47 return model;
48 }
49
50 public void setType(String type) {
51 this.type = type;
52 }
53
54 public String getType() {
55 return type;
56 }
57
58 public void setStatus(String status) {
59 this.status = status;
60 }
61
62 public String getStatus() {
63 return status;
64 }
65
66 public boolean isEmpty() {
67 if (name == null && data == null && type == null && status == null)
68 return true;
69
70 return false;
71 }
72
73 public boolean isBroken() {
74 if (name == null || data == null || type == null)
75 return true;
76
77 return false;
78 }
79 }

http://dive4elements.wald.intevation.org