root / trunk / extensions / extWFS2 / src / com / iver / cit / gvsig / gui / panels / DataReturnedOfDataLoadingFromActiveView.java @ 11131
History | View | Annotate | Download (2.06 KB)
1 |
package com.iver.cit.gvsig.gui.panels; |
---|---|
2 |
|
3 |
import com.iver.cit.gvsig.gui.filter.DefaultExpressionDataSource; |
4 |
|
5 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
6 |
*
|
7 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
8 |
*
|
9 |
* This program is free software; you can redistribute it and/or
|
10 |
* modify it under the terms of the GNU General Public License
|
11 |
* as published by the Free Software Foundation; either version 2
|
12 |
* of the License, or (at your option) any later version.
|
13 |
*
|
14 |
* This program is distributed in the hope that it will be useful,
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17 |
* GNU General Public License for more details.
|
18 |
*
|
19 |
* You should have received a copy of the GNU General Public License
|
20 |
* along with this program; if not, write to the Free Software
|
21 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
22 |
*
|
23 |
* For more information, contact:
|
24 |
*
|
25 |
* Generalitat Valenciana
|
26 |
* Conselleria d'Infraestructures i Transport
|
27 |
* Av. Blasco Ib??ez, 50
|
28 |
* 46010 VALENCIA
|
29 |
* SPAIN
|
30 |
*
|
31 |
* +34 963862235
|
32 |
* gvsig@gva.es
|
33 |
* www.gvsig.gva.es
|
34 |
*
|
35 |
* or
|
36 |
*
|
37 |
* IVER T.I. S.A
|
38 |
* Salamanca 50
|
39 |
* 46005 Valencia
|
40 |
* Spain
|
41 |
*
|
42 |
* +34 963163400
|
43 |
* dac@iver.es
|
44 |
*/
|
45 |
|
46 |
/**
|
47 |
* Data that the static method of "DataLoadingFromActiveView" class returns
|
48 |
*
|
49 |
* @author Pablo Piqueras Bartolom? (p_queras@hotmail.com)
|
50 |
*/
|
51 |
public class DataReturnedOfDataLoadingFromActiveView { |
52 |
private DefaultExpressionDataSource dED = null; |
53 |
private String filterTitle = ""; |
54 |
|
55 |
/**
|
56 |
* Constructor with 2 parameters
|
57 |
*
|
58 |
* @param data
|
59 |
* @param title
|
60 |
*/
|
61 |
public DataReturnedOfDataLoadingFromActiveView(DefaultExpressionDataSource data, String title) { |
62 |
dED = data; |
63 |
filterTitle = title; |
64 |
} |
65 |
|
66 |
/**
|
67 |
* Returns the title
|
68 |
*
|
69 |
* @return A String
|
70 |
*/
|
71 |
public String getTitle() { |
72 |
return filterTitle;
|
73 |
} |
74 |
|
75 |
/**
|
76 |
* Returns the data
|
77 |
*
|
78 |
* @return A 'DefaultExpressionDataSource' reference
|
79 |
*/
|
80 |
public DefaultExpressionDataSource getData() {
|
81 |
return dED;
|
82 |
} |
83 |
} |