public abstract class AbstractExpression extends java.lang.Object implements Expression
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExpression() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones the expression, expression should be reinitialized after the
cloning.
|
protected DataRow |
getDataRow()
Returns the current
DataRow. |
Expression |
getInstance()
Return a new instance of this expression.
|
java.lang.String |
getName()
Returns the name of the expression.
|
protected java.util.Locale |
getParentLocale() |
protected org.pentaho.reporting.libraries.base.config.Configuration |
getReportConfiguration() |
protected ResourceBundleFactory |
getResourceBundleFactory() |
ExpressionRuntime |
getRuntime() |
boolean |
isDeepTraversing()
A deep-traversing expression declares that it should receive updates from
all subreports.
|
boolean |
isPrecompute()
Returns, whether the expression will be precomputed.
|
boolean |
isPreserve()
Checks, whether the expression's result should be preserved in the
precomputed value registry.
|
void |
setDeepTraversing(boolean deepTraversing)
Defines, whether the expression is deep-traversing.
|
void |
setName(java.lang.String name)
Sets the name of the expression.
|
void |
setPrecompute(boolean precompute)
Defines, whether the expression will be precomputed.
|
void |
setPreserve(boolean preserve)
Defines, whether the expression's result should be preserved in the
precomputed value registry.
|
void |
setRuntime(ExpressionRuntime runtime)
Defines the DataRow used in this expression.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeValuepublic java.lang.String getName()
getName in interface Expressionpublic void setName(java.lang.String name)
setName in interface Expressionname - the name.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Expression maintain no state, cloning is done at the beginning of the report processing to disconnect the used expression from any other object space.
clone in interface Expressionclone in class java.lang.Objectjava.lang.CloneNotSupportedException - this should never happen.public Expression getInstance()
getInstance in interface Expressionpublic void setRuntime(ExpressionRuntime runtime)
setRuntime in interface Expressionruntime - the runtime information for the expressionpublic ExpressionRuntime getRuntime()
protected ResourceBundleFactory getResourceBundleFactory()
protected org.pentaho.reporting.libraries.base.config.Configuration getReportConfiguration()
protected java.util.Locale getParentLocale()
public boolean isPrecompute()
ExpressionisPrecompute in interface Expressionpublic void setPrecompute(boolean precompute)
ExpressionsetPrecompute in interface Expressionprecompute - true, if the expression is precomputed, false otherwise.public boolean isDeepTraversing()
ExpressionisDeepTraversing in interface Expressionpublic void setDeepTraversing(boolean deepTraversing)
ExpressionsetDeepTraversing in interface ExpressiondeepTraversing - true, if the expression is deep-traversing, false
otherwise.public boolean isPreserve()
ExpressionisPreserve in interface Expressionpublic void setPreserve(boolean preserve)
ExpressionsetPreserve in interface Expressionpreserve - true, if the expression's results should be preserved,
false otherwise.