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
public class CompareStringExpression extends AbstractCompareExpression
Deprecated.This can be done a lot easier using a simple formula.Compares a given static string with a string read from a field.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
EQUAL, GREATER, GREATER_EQUAL, LOWER, LOWER_EQUAL, NOT_EQUAL
-
-
Constructor Summary
Constructors Constructor Description CompareStringExpression()
Deprecated.Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Comparable
getComparable()
Deprecated.Returns the text.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.AbstractCompareExpression
getCompareMethod, getField, getValue, setCompareMethod, setField
-
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
-
-
-
-
Method Detail
-
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.
-
getComparable
protected Comparable getComparable()
Deprecated.Returns the text.- Specified by:
getComparable
in classAbstractCompareExpression
- Returns:
- the text.
-
-