Class SpaceObjectSource
- java.lang.Object
-
- jadex.extension.envsupport.evaluation.SpaceObjectSource
-
- All Implemented Interfaces:
IObjectSource
public class SpaceObjectSource extends java.lang.Object implements IObjectSource
A space object source can provide space objects of a specific object type. If aggregation is used the values are provided as one element (a list).
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
aggregate
The flag if aggregate values should be returned.protected IParsedExpression
dataexp
The object expression.protected AbstractEnvironmentSpace
envspace
The environment space.protected IParsedExpression
includeexp
The object expression.protected java.lang.String
objecttype
The objecttype.protected java.lang.String
varname
The variable name.
-
Constructor Summary
Constructors Constructor Description SpaceObjectSource(java.lang.String varname, AbstractEnvironmentSpace envspace, java.lang.String objecttype, boolean aggregate, IParsedExpression dataexp, IParsedExpression includeexp)
Create a new row provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getObjects()
Get the row objects.java.lang.String
getSourceName()
Get the variable name.
-
-
-
Field Detail
-
varname
protected java.lang.String varname
The variable name.
-
envspace
protected AbstractEnvironmentSpace envspace
The environment space.
-
objecttype
protected java.lang.String objecttype
The objecttype.
-
aggregate
protected boolean aggregate
The flag if aggregate values should be returned.
-
dataexp
protected IParsedExpression dataexp
The object expression.
-
includeexp
protected IParsedExpression includeexp
The object expression.
-
-
Constructor Detail
-
SpaceObjectSource
public SpaceObjectSource(java.lang.String varname, AbstractEnvironmentSpace envspace, java.lang.String objecttype, boolean aggregate, IParsedExpression dataexp, IParsedExpression includeexp)
Create a new row provider.
-
-
Method Detail
-
getObjects
public java.util.List getObjects()
Get the row objects.- Specified by:
getObjects
in interfaceIObjectSource
- Returns:
- All objects from the data source.
-
getSourceName
public java.lang.String getSourceName()
Get the variable name.- Specified by:
getSourceName
in interfaceIObjectSource
- Returns:
- The variable name.
-
-