com.wewebu.expression.language
Class OwExprGreaterEqOperator

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.OwExprGreaterEqOperator

public class OwExprGreaterEqOperator
extends OwExprComparisonOperator

Equal to or greater 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 OwExprGreaterEqOperator INSTANCE
          Single public instance of comparator
 
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 time 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 OwExprGreaterEqOperator INSTANCE
Single public instance of comparator

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 equal to or greater 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 date operand is equal to or greater than ...
Throws:
OwExprEvaluationException

evaluate

public OwExprValue evaluate(OwExprTimeValue v1_p,
                            OwExprTimeValue v2_p)
                     throws OwExprEvaluationException
Evaluates time 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 timespan operand is equal to or greater that right side timespan operand
Throws:
OwExprEvaluationException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.