jadex.application.space.envsupport.evaluation
Class SpaceObjectSource

java.lang.Object
  extended by jadex.application.space.envsupport.evaluation.SpaceObjectSource
All Implemented Interfaces:
IObjectSource

public class SpaceObjectSource
extends 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
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  String objecttype
          The objecttype.
protected  String varname
          The variable name.
 
Constructor Summary
SpaceObjectSource(String varname, AbstractEnvironmentSpace envspace, String objecttype, boolean aggregate, IParsedExpression dataexp, IParsedExpression includeexp)
          Create a new row provider.
 
Method Summary
 List getObjects()
          Get the row objects.
 String getSourceName()
          Get the variable name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varname

protected String varname
The variable name.


envspace

protected AbstractEnvironmentSpace envspace
The environment space.


objecttype

protected 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(String varname,
                         AbstractEnvironmentSpace envspace,
                         String objecttype,
                         boolean aggregate,
                         IParsedExpression dataexp,
                         IParsedExpression includeexp)
Create a new row provider.

Method Detail

getObjects

public List getObjects()
Get the row objects.

Specified by:
getObjects in interface IObjectSource
Returns:
All objects from the data source.

getSourceName

public String getSourceName()
Get the variable name.

Specified by:
getSourceName in interface IObjectSource
Returns:
The variable name.


Copyright © 2010. All Rights Reserved.