public class OwExprGreaterOperator extends OwExprComparisonOperator
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
Modifier and Type | Field and Description |
---|---|
static OwExprGreaterOperator |
INSTANCE
Single public instance of greater that operator
|
Modifier and Type | Method and Description |
---|---|
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 |
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
toString
public static final OwExprGreaterOperator INSTANCE
public OwExprValue evaluate(OwExprNumericValue v1_p, OwExprNumericValue v2_p) throws OwExprEvaluationException
Comparable
implementationsevaluate
in class OwExprBinaryOperator
v1_p
- leftside operandv2_p
- rightside operandtrue
OwExprBooleanValue
if leftside operand is greater than the right side operandOwExprEvaluationException
public OwExprValue evaluate(OwExprDateValue v1_p, OwExprDateValue v2_p) throws OwExprEvaluationException
Comparable
implementationsevaluate
in class OwExprBinaryOperator
v1_p
- leftside operandv2_p
- rightside operandtrue
OwExprBooleanValue
if leftside operand is greater than the right side operandOwExprEvaluationException
public OwExprValue evaluate(OwExprTimeValue v1_p, OwExprTimeValue v2_p) throws OwExprEvaluationException
Comparable
implementationsevaluate
in class OwExprBinaryOperator
v1_p
- leftside operandv2_p
- rightside operandtrue
OwExprBooleanValue
if leftside operand is greater than the right side operandOwExprEvaluationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.