|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
An expression is a lightweight function that does not maintain a state. Expressions are used to calculate values within a single row of a report. Expressions can use a dataRow to access other fields, expressions or functions within the current row in the report.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |