root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / gui / filter / ExpressionDataSource.java @ 856
History | View | Annotate | Download (948 Bytes)
1 |
package com.iver.cit.gvsig.gui.filter; |
---|---|
2 |
|
3 |
import com.hardcode.gdbms.engine.values.Value; |
4 |
|
5 |
/**
|
6 |
* DOCUMENT ME!
|
7 |
*
|
8 |
* @author $author$
|
9 |
* @version $Revision: 856 $
|
10 |
*/
|
11 |
public interface ExpressionDataSource { |
12 |
/**
|
13 |
* DOCUMENT ME!
|
14 |
*
|
15 |
* @param row DOCUMENT ME!
|
16 |
* @param idField DOCUMENT ME!
|
17 |
*
|
18 |
* @return DOCUMENT ME!
|
19 |
*
|
20 |
* @throws FilterException DOCUMENT ME!
|
21 |
*/
|
22 |
public Value getFieldValue(int row, int idField) throws FilterException; |
23 |
|
24 |
/**
|
25 |
* DOCUMENT ME!
|
26 |
*
|
27 |
* @return DOCUMENT ME!
|
28 |
*
|
29 |
* @throws FilterException DOCUMENT ME!
|
30 |
*/
|
31 |
public int getFieldCount() throws FilterException; |
32 |
|
33 |
/**
|
34 |
* DOCUMENT ME!
|
35 |
*
|
36 |
* @param idField DOCUMENT ME!
|
37 |
*
|
38 |
* @return DOCUMENT ME!
|
39 |
*
|
40 |
* @throws FilterException DOCUMENT ME!
|
41 |
*/
|
42 |
public String getFieldName(int idField) throws FilterException; |
43 |
|
44 |
/**
|
45 |
* DOCUMENT ME!
|
46 |
*
|
47 |
* @return DOCUMENT ME!
|
48 |
*
|
49 |
* @throws FilterException DOCUMENT ME!
|
50 |
*/
|
51 |
public int getRowCount() throws FilterException; |
52 |
} |