root / trunk / libraries / libArcIMS / src / org / gvsig / remoteClient / arcims / ArcImsVectStatus.java @ 8109
History | View | Annotate | Download (3.87 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2006 Prodevelop and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib??ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* Prodevelop Integraci?n de Tecnolog?as SL
|
34 |
* Conde Salvatierra de ?lava , 34-10
|
35 |
* 46004 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963 510 612
|
39 |
* +34 963 510 968
|
40 |
* gis@prodevelop.es
|
41 |
* http://www.prodevelop.es
|
42 |
*/
|
43 |
|
44 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
45 |
*
|
46 |
* Copyright (C) 2006 Prodevelop and Generalitat Valenciana.
|
47 |
*
|
48 |
* This program is free software; you can redistribute it and/or
|
49 |
* modify it under the terms of the GNU General Public License
|
50 |
* as published by the Free Software Foundation; either version 2
|
51 |
* of the License, or (at your option) any later version.
|
52 |
*
|
53 |
* This program is distributed in the hope that it will be useful,
|
54 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
55 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
56 |
* GNU General Public License for more details.
|
57 |
*
|
58 |
* You should have received a copy of the GNU General Public License
|
59 |
* along with this program; if not, write to the Free Software
|
60 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
61 |
*
|
62 |
* For more information, contact:
|
63 |
*
|
64 |
* Generalitat Valenciana
|
65 |
* Conselleria d'Infraestructures i Transport
|
66 |
* Av. Blasco Ib??ez, 50
|
67 |
* 46010 VALENCIA
|
68 |
* SPAIN
|
69 |
*
|
70 |
* +34 963862235
|
71 |
* gvsig@gva.es
|
72 |
* www.gvsig.gva.es
|
73 |
*
|
74 |
* or
|
75 |
*
|
76 |
* Prodevelop Integraci?n de Tecnolog?as SL
|
77 |
* Conde Salvatierra de ?lava , 34-10
|
78 |
* 46004 Valencia
|
79 |
* Spain
|
80 |
*
|
81 |
* +34 963 510 612
|
82 |
* +34 963 510 968
|
83 |
* gis@prodevelop.es
|
84 |
* http://www.prodevelop.es
|
85 |
*/
|
86 |
|
87 |
/**
|
88 |
*
|
89 |
*/
|
90 |
package org.gvsig.remoteClient.arcims; |
91 |
|
92 |
|
93 |
/**
|
94 |
* Extended class to implement specific vectorial state information
|
95 |
* @author jsanz
|
96 |
*
|
97 |
*/
|
98 |
public class ArcImsVectStatus extends ArcImsStatus { |
99 |
private String where; |
100 |
private String[] subfields; |
101 |
|
102 |
/**
|
103 |
*
|
104 |
*/
|
105 |
public ArcImsVectStatus() {
|
106 |
super();
|
107 |
where = "";
|
108 |
subfields = new String[1]; |
109 |
subfields[0] = "#ALL#"; |
110 |
} |
111 |
|
112 |
public Object clone() { |
113 |
ArcImsVectStatus avs = new ArcImsVectStatus();
|
114 |
avs = (ArcImsVectStatus) super.clone();
|
115 |
avs.setWhere(this.getWhere());
|
116 |
avs.setSubfields(this.getSubfields());
|
117 |
|
118 |
return avs;
|
119 |
} |
120 |
|
121 |
/**
|
122 |
* @return Returns the where.
|
123 |
*/
|
124 |
public String getWhere() { |
125 |
return where;
|
126 |
} |
127 |
|
128 |
/**
|
129 |
* @param where The where to set.
|
130 |
*/
|
131 |
public void setWhere(String where) { |
132 |
this.where = where;
|
133 |
} |
134 |
|
135 |
/**
|
136 |
* @return Returns the subfields.
|
137 |
*/
|
138 |
public String[] getSubfields() { |
139 |
return subfields;
|
140 |
} |
141 |
|
142 |
/**
|
143 |
* @param subfields The subfields to set.
|
144 |
*/
|
145 |
public void setSubfields(String[] subfields) { |
146 |
if (subfields == null) { |
147 |
subfields = new String[1]; |
148 |
subfields[0] = "#ALL#"; |
149 |
} |
150 |
|
151 |
this.subfields = subfields;
|
152 |
} |
153 |
} |