com.wewebu.expression.language
Class OwExprPlusOperator

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

public class OwExprPlusOperator
extends OwExprBinaryOperator

OwExprPlusOperator.

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 OwExprPlusOperator INSTANCE
           
 
Method Summary
 OwExprValue evaluate(OwExprBooleanValue v1_p, OwExprStringValue v2_p)
          BOOLEAN operator STRING operation evaluation
 OwExprValue evaluate(OwExprDateValue v1_p, OwExprStringValue v2_p)
          DATE operator STRING 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(OwExprNumericValue v1_p, OwExprStringValue v2_p)
          NUMERIC operator STRING operation evaluation
 OwExprValue evaluate(OwExprStringValue v1_p, OwExprBooleanValue v2_p)
          STRING operator BOOLEAN operation evaluation
 OwExprValue evaluate(OwExprStringValue v1_p, OwExprDateValue v2_p)
          STRING operator DATE operation evaluation
 OwExprValue evaluate(OwExprStringValue v1_p, OwExprNumericValue v2_p)
          STRING operator NUMERIC operation evaluation
 OwExprValue evaluate(OwExprStringValue v1_p, OwExprStringValue v2_p)
          STRING operator STRING operation evaluation
 OwExprValue evaluate(OwExprStringValue v1_p, OwExprTimeValue v2_p)
          STRING operator TIME operation evaluation
 OwExprValue evaluate(OwExprTimeValue v1_p, OwExprDateValue v2_p)
          TIME operator DATE operation evaluation
 OwExprValue evaluate(OwExprTimeValue v1_p, OwExprStringValue v2_p)
          TIME operator STRING 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, 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 OwExprPlusOperator INSTANCE
Method Detail

evaluate

public 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 OwExprValue evaluate(OwExprNumericValue v1_p,
                            OwExprStringValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
NUMERIC operator STRING 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(OwExprStringValue v1_p,
                            OwExprNumericValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
STRING 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 OwExprValue evaluate(OwExprStringValue v1_p,
                            OwExprStringValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
STRING operator STRING 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(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,
                            OwExprDateValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
TIME 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 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)

evaluate

public OwExprValue evaluate(OwExprStringValue v1_p,
                            OwExprBooleanValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
STRING operator BOOLEAN 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(OwExprBooleanValue v1_p,
                            OwExprStringValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
BOOLEAN operator STRING 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(OwExprStringValue v1_p,
                            OwExprDateValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
STRING 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 OwExprValue evaluate(OwExprDateValue v1_p,
                            OwExprStringValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
DATE operator STRING 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(OwExprStringValue v1_p,
                            OwExprTimeValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
STRING 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,
                            OwExprStringValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
TIME operator STRING 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.