org.pentaho.reporting.engine.classic.core.function.strings
Class CompareStringExpression
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
org.pentaho.reporting.engine.classic.core.function.strings.CompareStringExpression
- All Implemented Interfaces:
- Serializable, Cloneable, Expression
Deprecated. This can be done a lot easier using a simple formula.
public class CompareStringExpression
- extends AbstractCompareExpression
Compares a given static string with a string read from a field.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Method Summary |
String |
getText()
Deprecated. Returns the static text to which the field's value should be compared to. |
void |
setText(String text)
Deprecated. Defines the static text to which the field's value should be compared to. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
CompareStringExpression
public CompareStringExpression()
- Deprecated.
- Default Constructor.
getText
public String getText()
- Deprecated.
- Returns the static text to which the field's value should be compared to.
- Returns:
- the text.
setText
public void setText(String text)
- Deprecated.
- Defines the static text to which the field's value should be compared to.
- Parameters:
text
- the text.