public interface Expression extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the expression, expression should be reinitialized after the cloning.
|
DataRow |
getDataRow()
Returns the DataRow used in this expression.
|
int |
getDependencyLevel()
The dependency level defines the level of execution for this function.
|
Expression |
getInstance()
Return a new instance of this expression.
|
String |
getName()
Returns the name of the expression.
|
org.pentaho.reporting.libraries.base.config.Configuration |
getReportConfiguration()
Returns the report's current configuration.
|
ResourceBundleFactory |
getResourceBundleFactory()
Returns the resource-bundle factory of the report.
|
ExpressionRuntime |
getRuntime()
Retrieves the runtime instance.
|
Object |
getValue()
Return the current expression value.
|
boolean |
isActive()
Deprecated.
The Active-Flag is no longer evaluated. We always assume it to be true.
|
boolean |
isDeepTraversing()
Checks whether this expression is a deep-traversing expression.
|
boolean |
isPreserve()
Checks whether this expression's last value is preserved after the expression goes out of scope.
|
void |
setDependencyLevel(int level)
Sets the dependency level for the expression.
|
void |
setName(String name)
Sets the name of the expression.
|
void |
setRuntime(ExpressionRuntime runtime)
Defines the DataRow used in this expression.
|
String getName()
void setName(String name)
name
- the name.Object getValue()
boolean isActive()
DataRow getDataRow()
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- this should never happen.int getDependencyLevel()
void setDependencyLevel(int level)
level
- the level.Expression getInstance()
ResourceBundleFactory getResourceBundleFactory()
org.pentaho.reporting.libraries.base.config.Configuration getReportConfiguration()
void setRuntime(ExpressionRuntime runtime)
runtime
- the runtime information for the expressionExpressionRuntime getRuntime()
boolean isDeepTraversing()
boolean isPreserve()