com.wewebu.expression.language
Class OwExprLessOperator

java.lang.Object
  extended by com.wewebu.expression.language.OwExprOperator
      extended by com.wewebu.expression.language.OwExprBinaryOperator
          extended by com.wewebu.expression.language.OwExprComparisonOperator
              extended by com.wewebu.expression.language.OwExprLessOperator

public class OwExprLessOperator
extends OwExprComparisonOperator

Less than operator implementation. It is based on Java's Comparable implementation.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
static OwExprLessOperator INSTANCE
          Single public instance of greater that operator
 
Method Summary
 OwExprValue evaluate(OwExprDateValue v1_p, OwExprDateValue v2_p)
          Evaluates date values using Java's Comparable implementations
 OwExprValue evaluate(OwExprNumericValue v1_p, OwExprNumericValue v2_p)
          Evaluates numeric values using Java's Comparable implementations
 OwExprValue evaluate(OwExprTimeValue v1_p, OwExprTimeValue v2_p)
          Evaluates numeric values using Java's Comparable implementations
 
Methods inherited from class com.wewebu.expression.language.OwExprBinaryOperator
binaryEvaluation, computeExpressionType, computeType, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, getRegressingTypes1, getRegressingTypes2
 
Methods inherited from class com.wewebu.expression.language.OwExprOperator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final OwExprLessOperator INSTANCE
Single public instance of greater that operator

Method Detail

evaluate

public OwExprValue evaluate(OwExprNumericValue v1_p,
                            OwExprNumericValue v2_p)
                     throws OwExprEvaluationException
Evaluates numeric values using Java's Comparable implementations

Overrides:
evaluate in class OwExprBinaryOperator
Parameters:
v1_p - leftside operand
v2_p - rightside operand
Returns:
a true OwExprBooleanValue if leftside operand is less than the right side operand
Throws:
OwExprEvaluationException

evaluate

public OwExprValue evaluate(OwExprDateValue v1_p,
                            OwExprDateValue v2_p)
                     throws OwExprEvaluationException
Evaluates date values using Java's Comparable implementations

Overrides:
evaluate in class OwExprBinaryOperator
Parameters:
v1_p - leftside operand
v2_p - rightside operand
Returns:
a true OwExprBooleanValue if leftside operand is less than the right side operand
Throws:
OwExprEvaluationException

evaluate

public OwExprValue evaluate(OwExprTimeValue v1_p,
                            OwExprTimeValue v2_p)
                     throws OwExprEvaluationException
Evaluates numeric values using Java's Comparable implementations

Overrides:
evaluate in class OwExprBinaryOperator
Parameters:
v1_p - leftside operand
v2_p - rightside operand
Returns:
a true OwExprBooleanValue if leftside operand is less than the right side operand
Throws:
OwExprEvaluationException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.