org.pentaho.reporting.engine.classic.core.function
Class CompareFieldsExpression

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.reporting.engine.classic.core.function.AbstractCompareExpression
          extended by org.pentaho.reporting.engine.classic.core.function.CompareFieldsExpression
All Implemented Interfaces:
Serializable, Cloneable, Expression

Deprecated. Use a formula instead.

public class CompareFieldsExpression
extends AbstractCompareExpression

Compares the values of two fields.

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
CompareFieldsExpression()
          Deprecated. Default Constructor.
 
Method Summary
 String getOtherField()
          Deprecated. Returns the name of the data-row column that holds the second value.
 void setOtherField(String otherField)
          Deprecated. Defines the name of the data-row column that holds the second value.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareFieldsExpression

public CompareFieldsExpression()
Deprecated. 
Default Constructor.

Method Detail

getOtherField

public String getOtherField()
Deprecated. 
Returns the name of the data-row column that holds the second value.

Returns:
the name of the other field.

setOtherField

public void setOtherField(String otherField)
Deprecated. 
Defines the name of the data-row column that holds the second value.

Parameters:
otherField - the name of the other field.