Class DefaultDataProvider
- java.lang.Object
-
- jadex.extension.envsupport.evaluation.DefaultDataProvider
-
- All Implemented Interfaces:
ITableDataProvider
public class DefaultDataProvider extends java.lang.Object implements ITableDataProvider
Provides data on basis of the environment space.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
columnnames
The column names.protected AbstractEnvironmentSpace
envspace
The environment space.protected IParsedExpression[]
exps
The expressions.protected IObjectSource[]
rowproviders
The space object selector.protected java.lang.String
tablename
The table name.
-
Constructor Summary
Constructors Constructor Description DefaultDataProvider(AbstractEnvironmentSpace envspace, IObjectSource[] rowproviders, java.lang.String tablename, java.lang.String[] columnnames, IParsedExpression[] exps)
Create a new space object table data provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTable
getTableData(long time, double tick)
Get the data from a data provider.
-
-
-
Field Detail
-
envspace
protected AbstractEnvironmentSpace envspace
The environment space.
-
rowproviders
protected IObjectSource[] rowproviders
The space object selector.
-
tablename
protected java.lang.String tablename
The table name.
-
columnnames
protected java.lang.String[] columnnames
The column names.
-
exps
protected IParsedExpression[] exps
The expressions.
-
-
Constructor Detail
-
DefaultDataProvider
public DefaultDataProvider(AbstractEnvironmentSpace envspace, IObjectSource[] rowproviders, java.lang.String tablename, java.lang.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 interfaceITableDataProvider
- Parameters:
time
- The current time.tick
- The current tick.- Returns:
- The data.
-
-