public class OwExprLessEqOperator extends OwExprComparisonOperator
Equal to or 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
Modifier and Type | Field and Description |
---|---|
static OwExprLessEqOperator |
INSTANCE
Single public instance of comparator
|
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 time 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 OwExprLessEqOperator 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 equal to or less 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 date operand is equal to or less than ...OwExprEvaluationException
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 timespan operand is equal to or less that right side timespan operandOwExprEvaluationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.