svn-gvsig-desktop / tags / Root_v061 / applications / appCatalogYNomenclatorClient / src / es / gva / cit / gazetteer / drivers / AsbtractGazetteerServiceDriver.java @ 4812
History | View | Annotate | Download (3.1 KB)
1 |
|
---|---|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
3 |
*
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* Generalitat Valenciana
|
23 |
* Conselleria d'Infraestructures i Transport
|
24 |
* Av. Blasco Ib??ez, 50
|
25 |
* 46010 VALENCIA
|
26 |
* SPAIN
|
27 |
*
|
28 |
* +34 963862235
|
29 |
* gvsig@gva.es
|
30 |
* www.gvsig.gva.es
|
31 |
*
|
32 |
* or
|
33 |
*
|
34 |
* IVER T.I. S.A
|
35 |
* Salamanca 50
|
36 |
* 46005 Valencia
|
37 |
* Spain
|
38 |
*
|
39 |
* +34 963163400
|
40 |
* dac@iver.es
|
41 |
*/
|
42 |
package es.gva.cit.gazetteer.drivers; |
43 |
import es.gva.cit.gazetteer.querys.Query; |
44 |
import java.util.Vector; |
45 |
|
46 |
/**
|
47 |
* This class must be inherited by all the gazetteer drivers. It contains
|
48 |
* the common attributes.
|
49 |
*
|
50 |
*
|
51 |
* @author Jorge Piera Llodra (piera_jor@gva.es)
|
52 |
*/
|
53 |
public abstract class AsbtractGazetteerServiceDriver implements IGazetteerServiceDriver { |
54 |
|
55 |
/**
|
56 |
*
|
57 |
*
|
58 |
*/
|
59 |
private Vector Feature; |
60 |
|
61 |
/**
|
62 |
*
|
63 |
*
|
64 |
*/
|
65 |
private String serverAnswerReady = null; |
66 |
/**
|
67 |
* <p></p>
|
68 |
*
|
69 |
*
|
70 |
*/
|
71 |
private Query query; |
72 |
|
73 |
/**
|
74 |
* Server Projection
|
75 |
*/
|
76 |
private String projection; |
77 |
|
78 |
/**
|
79 |
*
|
80 |
*
|
81 |
*
|
82 |
* @return Returns the serverAnswerReady.
|
83 |
*/
|
84 |
public String getServerAnswerReady() { |
85 |
return serverAnswerReady;
|
86 |
} |
87 |
|
88 |
/**
|
89 |
*
|
90 |
*
|
91 |
*
|
92 |
* @param serverAnswerReady The serverAnswerReady to set.
|
93 |
*/
|
94 |
public void setServerAnswerReady(String serverAnswerReady) { |
95 |
this.serverAnswerReady = serverAnswerReady;
|
96 |
} |
97 |
|
98 |
/**
|
99 |
*
|
100 |
*
|
101 |
*
|
102 |
* @return Returns the feature.
|
103 |
*/
|
104 |
public Vector getVectorFeatures() { |
105 |
return Feature;
|
106 |
} |
107 |
|
108 |
/**
|
109 |
*
|
110 |
*
|
111 |
*
|
112 |
* @param feature The feature to set.
|
113 |
*/
|
114 |
public void setVectorFeatures(Vector feature) { |
115 |
Feature = feature; |
116 |
} |
117 |
|
118 |
/**
|
119 |
*
|
120 |
*
|
121 |
*
|
122 |
* @return Returns the feature.
|
123 |
*/
|
124 |
public Vector getFeature() { |
125 |
return Feature;
|
126 |
} |
127 |
|
128 |
/**
|
129 |
*
|
130 |
*
|
131 |
*
|
132 |
* @param feature The feature to set.
|
133 |
*/
|
134 |
public void setFeature(Vector feature) { |
135 |
Feature = feature; |
136 |
} |
137 |
|
138 |
/**
|
139 |
*
|
140 |
*
|
141 |
*
|
142 |
* @return Returns the query.
|
143 |
*/
|
144 |
public Query getQuery() { |
145 |
return query;
|
146 |
} |
147 |
|
148 |
/**
|
149 |
*
|
150 |
*
|
151 |
*
|
152 |
* @param query The query to set.
|
153 |
*/
|
154 |
public void setQuery(Query query) { |
155 |
this.query = query;
|
156 |
} |
157 |
|
158 |
/**
|
159 |
* @return the projection
|
160 |
*/
|
161 |
public String getProjection() { |
162 |
return projection;
|
163 |
} |
164 |
|
165 |
/**
|
166 |
* @param projection the projection to set
|
167 |
*/
|
168 |
public void setProjection(String projection) { |
169 |
this.projection = projection;
|
170 |
} |
171 |
} |