com.iver.cit.gvsig.gui.filter
Class DefaultExpressionDataSource

java.lang.Object
  extended bycom.iver.cit.gvsig.gui.filter.DefaultExpressionDataSource
All Implemented Interfaces:
ExpressionDataSource

public class DefaultExpressionDataSource
extends java.lang.Object
implements ExpressionDataSource

DOCUMENT ME!

Author:
Fernando González Cortés

Constructor Summary
DefaultExpressionDataSource()
           
 
Method Summary
 java.lang.String getDataSourceName()
          DOCUMENT ME!
 int getFieldCount()
          DOCUMENT ME!
 java.lang.String getFieldName(int idField)
          DOCUMENT ME!
 Value getFieldValue(int row, int field)
          DOCUMENT ME!
 int getRowCount()
          DOCUMENT ME!
 void setTable(SelectableDataSource table)
          DOCUMENT ME!
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExpressionDataSource

public DefaultExpressionDataSource()
Method Detail

setTable

public void setTable(SelectableDataSource table)
DOCUMENT ME!

Parameters:
table - DOCUMENT ME!

start

public void start()
           throws DriverException
Specified by:
start in interface ExpressionDataSource
Throws:
DriverException

stop

public void stop()
          throws DriverException
Specified by:
stop in interface ExpressionDataSource
Throws:
DriverException

getFieldName

public java.lang.String getFieldName(int idField)
                              throws FilterException
DOCUMENT ME!

Specified by:
getFieldName in interface ExpressionDataSource
Parameters:
idField -
Returns:
Throws:
FilterException

getFieldCount

public int getFieldCount()
                  throws FilterException
DOCUMENT ME!

Specified by:
getFieldCount in interface ExpressionDataSource
Returns:
Throws:
FilterException

getFieldValue

public Value getFieldValue(int row,
                           int field)
                    throws FilterException
DOCUMENT ME!

Specified by:
getFieldValue in interface ExpressionDataSource
Parameters:
field -
row - DOCUMENT ME!
Returns:
Throws:
FilterException

getRowCount

public int getRowCount()
                throws FilterException
Description copied from interface: ExpressionDataSource
DOCUMENT ME!

Specified by:
getRowCount in interface ExpressionDataSource
Returns:
DOCUMENT ME!
Throws:
FilterException - DOCUMENT ME!
See Also:
ExpressionDataSource.getRowCount()

getDataSourceName

public java.lang.String getDataSourceName()
Description copied from interface: ExpressionDataSource
DOCUMENT ME!

Specified by:
getDataSourceName in interface ExpressionDataSource
Returns:
DOCUMENT ME!
See Also:
ExpressionDataSource.getDataSourceName()