com.wewebu.expression.language
Class OwExprMinusOperator

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

public class OwExprMinusOperator
extends OwExprBinaryOperator

OwExprMinusOperator.

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 OwExprMinusOperator INSTANCE
           
 
Constructor Summary
OwExprMinusOperator(OwExprBinaryConversionTable conversionTable_p)
           
 
Method Summary
 OwExprValue evaluate(OwExprDateValue v1_p, OwExprDateValue v2_p)
          DATE operator DATE operation evaluation
 OwExprValue evaluate(OwExprDateValue v1_p, OwExprTimeValue v2_p)
          DATE operator TIME operation evaluation
 OwExprValue evaluate(OwExprNumericValue v1_p, OwExprNumericValue v2_p)
          NUMERIC operator NUMERIC operation evaluation
 OwExprValue evaluate(OwExprTimeValue v1_p, OwExprTimeValue v2_p)
          TIME operator TIME operation evaluation
 
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, 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 OwExprMinusOperator INSTANCE
Constructor Detail

OwExprMinusOperator

public OwExprMinusOperator(OwExprBinaryConversionTable conversionTable_p)
Method Detail

evaluate

public final OwExprValue evaluate(OwExprNumericValue v1_p,
                                  OwExprNumericValue v2_p)
                           throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
NUMERIC operator NUMERIC operation evaluation

Overrides:
evaluate in class OwExprBinaryOperator
Returns:
the resulted value as OwExprValue according to the conversion rules
Throws:
OwExprEvaluationException - if the operation fails for any reason (unsupported operand types , incompatible operands, unimplemented operation or operation failure at evaluation time)

evaluate

public final OwExprValue evaluate(OwExprDateValue v1_p,
                                  OwExprDateValue v2_p)
                           throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
DATE operator DATE operation evaluation

Overrides:
evaluate in class OwExprBinaryOperator
Returns:
the resulted value as OwExprValue according to the conversion rules
Throws:
OwExprEvaluationException - if the operation fails for any reason (unsupported operand types , incompatible operands, unimplemented operation or operation failure at evaluation time)

evaluate

public final OwExprValue evaluate(OwExprDateValue v1_p,
                                  OwExprTimeValue v2_p)
                           throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
DATE operator TIME operation evaluation

Overrides:
evaluate in class OwExprBinaryOperator
Returns:
the resulted value as OwExprValue according to the conversion rules
Throws:
OwExprEvaluationException - if the operation fails for any reason (unsupported operand types , incompatible operands, unimplemented operation or operation failure at evaluation time)

evaluate

public OwExprValue evaluate(OwExprTimeValue v1_p,
                            OwExprTimeValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
TIME operator TIME operation evaluation

Overrides:
evaluate in class OwExprBinaryOperator
Returns:
the resulted value as OwExprValue according to the conversion rules
Throws:
OwExprEvaluationException - if the operation fails for any reason (unsupported operand types , incompatible operands, unimplemented operation or operation failure at evaluation time)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.