org.objectweb.medor.expression.lib
Class StringComparatorParameterOperand

java.lang.Object
  extended byorg.objectweb.medor.clone.lib.BasicCloneable
      extended byorg.objectweb.medor.expression.lib.BasicExpression
          extended byorg.objectweb.medor.expression.lib.BasicOperand
              extended byorg.objectweb.medor.expression.lib.BasicVariableOperand
                  extended byorg.objectweb.medor.expression.lib.BasicParameterOperand
                      extended byorg.objectweb.medor.expression.lib.AbstractCalculatedParameterOperand
                          extended byorg.objectweb.medor.expression.lib.StringComparatorParameterOperand
All Implemented Interfaces:
CalculatedParameterOperand, org.objectweb.medor.clone.api.Cloneable, java.lang.Cloneable, Expression, Operand, ParameterOperand, java.io.Serializable, VariableOperand

public class StringComparatorParameterOperand
extends AbstractCalculatedParameterOperand
implements CalculatedParameterOperand

This class defines a parameter operand to use for string comparison such as a like expression.

Author:
S.Chassande-Barrioz, A.Lefebvre
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.medor.expression.lib.BasicParameterOperand
name
 
Fields inherited from class org.objectweb.medor.expression.lib.BasicOperand
doubleValue, isDefined, longValue, objectValue
 
Fields inherited from class org.objectweb.medor.expression.lib.BasicExpression
logger, type
 
Constructor Summary
StringComparatorParameterOperand(BasicParameterOperand po, java.lang.String prefix, java.lang.String suffix)
           
StringComparatorParameterOperand(java.lang.String name, java.lang.String prefix, java.lang.String suffix)
           
 
Method Summary
 void evaluate(ParameterOperand[] pos)
           
 
Methods inherited from class org.objectweb.medor.expression.lib.AbstractCalculatedParameterOperand
getPO
 
Methods inherited from class org.objectweb.medor.expression.lib.BasicParameterOperand
clone, evaluate, getName, setName
 
Methods inherited from class org.objectweb.medor.expression.lib.BasicVariableOperand
setType, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from class org.objectweb.medor.expression.lib.BasicOperand
compileExpression, getBigDecimal, getBigInteger, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getType, getValueAsString, isDefined, setIsDefined, toString
 
Methods inherited from class org.objectweb.medor.clone.lib.BasicCloneable
clone, clone, getClone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.expression.api.ParameterOperand
getName
 
Methods inherited from interface org.objectweb.medor.expression.api.VariableOperand
setType, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from interface org.objectweb.medor.expression.api.Operand
getBigDecimal, getBigInteger, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, isDefined, setIsDefined
 
Methods inherited from interface org.objectweb.medor.expression.api.Expression
compileExpression, evaluate, getType
 
Methods inherited from interface org.objectweb.medor.clone.api.Cloneable
clone
 

Constructor Detail

StringComparatorParameterOperand

public StringComparatorParameterOperand(BasicParameterOperand po,
                                        java.lang.String prefix,
                                        java.lang.String suffix)

StringComparatorParameterOperand

public StringComparatorParameterOperand(java.lang.String name,
                                        java.lang.String prefix,
                                        java.lang.String suffix)
Method Detail

evaluate

public void evaluate(ParameterOperand[] pos)
              throws ExpressionException
Specified by:
evaluate in interface CalculatedParameterOperand
Throws:
ExpressionException