jadex.application.space.envsupport.evaluation
Class DefaultDataProvider

java.lang.Object
  extended by jadex.application.space.envsupport.evaluation.DefaultDataProvider
All Implemented Interfaces:
ITableDataProvider

public class DefaultDataProvider
extends Object
implements ITableDataProvider

Provides data on basis of the environment space.


Field Summary
protected  String[] columnnames
          The column names.
protected  AbstractEnvironmentSpace envspace
          The environment space.
protected  IParsedExpression[] exps
          The expressions.
protected  IObjectSource[] rowproviders
          The space object selector.
protected  String tablename
          The table name.
 
Constructor Summary
DefaultDataProvider(AbstractEnvironmentSpace envspace, IObjectSource[] rowproviders, String tablename, String[] columnnames, IParsedExpression[] exps)
          Create a new space object table data provider.
 
Method Summary
 DataTable getTableData(long time, double tick)
          Get the data from a data provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

envspace

protected AbstractEnvironmentSpace envspace
The environment space.


rowproviders

protected IObjectSource[] rowproviders
The space object selector.


tablename

protected String tablename
The table name.


columnnames

protected String[] columnnames
The column names.


exps

protected IParsedExpression[] exps
The expressions.

Constructor Detail

DefaultDataProvider

public DefaultDataProvider(AbstractEnvironmentSpace envspace,
                           IObjectSource[] rowproviders,
                           String tablename,
                           String[] columnnames,
                           IParsedExpression[] exps)
Create a new space object table data provider.

Method Detail

getTableData

public DataTable getTableData(long time,
                              double tick)
Get the data from a data provider.

Specified by:
getTableData in interface ITableDataProvider
Parameters:
time - The current time.
tick - The current tick.
Returns:
The data.


Copyright © 2010. All Rights Reserved.