wuww
2025-04-11 4dfc75b7061bee39968df9e94ee0f56bc003f5fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
package com.se.nsl.domain.dto;
 
import cn.hutool.json.JSONArray;
 
import java.util.List;
 
@SuppressWarnings("ALL")
public class GeLayer {
    private String id;
 
    private String name;
 
    private List<GeField> fields;
 
    private String queryType;
 
    private String shpName;
 
    private GeDb db;
 
    private JSONArray data;
 
    public GeLayer() {
        this.data = new JSONArray();
    }
 
    public GeLayer(String id, String name) {
        this();
        this.id = id;
        this.name = name;
    }
 
    public GeLayer(GeLayer layer,JSONArray data) {
        this.id = layer.getId();
        this.name = layer.getName();
        this.queryType = layer.getQueryType();
        this.fields = layer.getFields();
        this.shpName = layer.getShpName();
        this.db = layer.getDb();
        this.data = data;
    }
 
    public GeLayer(String id, String name, String queryType, List<GeField> fields, String shpName, GeDb db) {
        this();
        this.id = id;
        this.name = name;
        this.queryType = queryType;
        this.fields = fields;
        this.shpName = shpName;
        this.db = db;
    }
 
    public void addData(JSONArray arr) {
        this.data.addAll(arr);
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public List<GeField> getFields() {
        return fields;
    }
 
    public void setFields(List<GeField> fields) {
        this.fields = fields;
    }
 
    public JSONArray getData() {
        return data;
    }
 
    public void setData(JSONArray data) {
        this.data = data;
    }
 
    public String getQueryType() {
        return queryType;
    }
 
    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }
 
    public String getShpName() {
        return shpName;
    }
 
    public void setShpName(String shpName) {
        this.shpName = shpName;
    }
 
    public GeDb getDb() {
        return db;
    }
 
    public void setDb(GeDb db) {
        this.db = db;
    }
}