Revision 4488 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/drivers/AsbtractGazetteerServiceDriver.java

View differences:

AsbtractGazetteerServiceDriver.java
1 1

  
2 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
*/
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 42
package es.gva.cit.gazetteer.drivers;
43 43
import es.gva.cit.gazetteer.querys.Query;
44 44
import java.util.Vector;
......
52 52
 */
53 53
public abstract class AsbtractGazetteerServiceDriver implements IGazetteerServiceDriver {
54 54

  
55
/**
56
 * 
57
 * 
58
 */
59
    private Vector Feature;
55
	/**
56
	 * 
57
	 * 
58
	 */
59
	private Vector Feature;
60 60

  
61
/**
62
 * 
63
 * 
64
 */
65
    private String serverAnswerReady = null;
66
/**
67
 * <p></p>
68
 * 
69
 * 
70
 */
71
    private Query query;
61
	/**
62
	 * 
63
	 * 
64
	 */
65
	private String serverAnswerReady = null;
66
	/**
67
	 * <p></p>
68
	 * 
69
	 * 
70
	 */
71
	private Query query;
72 72

  
73
/**
74
 * 
75
 * 
76
 * 
77
 * @return Returns the serverAnswerReady.
78
 */
79
    public String getServerAnswerReady() {        
80
        return serverAnswerReady;
81
    } 
73
	/**
74
	 * Server Projection
75
	 */     
76
	private String projection;
82 77

  
83
/**
84
 * 
85
 * 
86
 * 
87
 * @param serverAnswerReady The serverAnswerReady to set.
88
 */
89
    public void setServerAnswerReady(String serverAnswerReady) {        
90
        this.serverAnswerReady = serverAnswerReady;
91
    } 
78
	/**
79
	 * 
80
	 * 
81
	 * 
82
	 * @return Returns the serverAnswerReady.
83
	 */
84
	public String getServerAnswerReady() {        
85
		return serverAnswerReady;
86
	} 
92 87

  
93
/**
94
 * 
95
 * 
96
 * 
97
 * @return Returns the feature.
98
 */
99
    public Vector getVectorFeatures() {        
100
        return Feature;
101
    } 
88
	/**
89
	 * 
90
	 * 
91
	 * 
92
	 * @param serverAnswerReady The serverAnswerReady to set.
93
	 */
94
	public void setServerAnswerReady(String serverAnswerReady) {        
95
		this.serverAnswerReady = serverAnswerReady;
96
	} 
102 97

  
103
/**
104
 * 
105
 * 
106
 * 
107
 * @param feature The feature to set.
108
 */
109
    public void setVectorFeatures(Vector feature) {        
110
        Feature = feature;
111
    } 
98
	/**
99
	 * 
100
	 * 
101
	 * 
102
	 * @return Returns the feature.
103
	 */
104
	public Vector getVectorFeatures() {        
105
		return Feature;
106
	} 
112 107

  
113
/**
114
 * 
115
 * 
116
 * 
117
 * @return Returns the feature.
118
 */
119
    public Vector getFeature() {        
120
        return Feature;
121
    } 
108
	/**
109
	 * 
110
	 * 
111
	 * 
112
	 * @param feature The feature to set.
113
	 */
114
	public void setVectorFeatures(Vector feature) {        
115
		Feature = feature;
116
	} 
122 117

  
123
/**
124
 * 
125
 * 
126
 * 
127
 * @param feature The feature to set.
128
 */
129
    public void setFeature(Vector feature) {        
130
        Feature = feature;
131
    } 
118
	/**
119
	 * 
120
	 * 
121
	 * 
122
	 * @return Returns the feature.
123
	 */
124
	public Vector getFeature() {        
125
		return Feature;
126
	} 
132 127

  
133
/**
134
 * 
135
 * 
136
 * 
137
 * @return Returns the query.
138
 */
139
    public Query getQuery() {        
140
        return query;
141
    } 
128
	/**
129
	 * 
130
	 * 
131
	 * 
132
	 * @param feature The feature to set.
133
	 */
134
	public void setFeature(Vector feature) {        
135
		Feature = feature;
136
	} 
142 137

  
143
/**
144
 * 
145
 * 
146
 * 
147
 * @param query The query to set.
148
 */
149
    public void setQuery(Query query) {        
150
        this.query = query;
151
    } 
152
 }
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
}

Also available in: Unified diff