com.wewebu.expression.language
Class OwExprOrOperator

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

public class OwExprOrOperator
extends OwExprBooleanOperator

The boolean logic OR operator.

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 OwExprOrOperator INSTANCE
           
 
Method Summary
 OwExprValue evaluate(OwExprBooleanValue v1_p, OwExprBooleanValue v2_p)
          Evaluates boolean values using java's || operator
 
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, 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 OwExprOrOperator INSTANCE
Method Detail

evaluate

public OwExprValue evaluate(OwExprBooleanValue v1_p,
                            OwExprBooleanValue v2_p)
                     throws OwExprEvaluationException
Evaluates boolean values using java's || operator

Overrides:
evaluate in class OwExprBinaryOperator
Parameters:
v1_p - leftside operand
v2_p - rightside operand
Returns:
an OwExprBooleanValue as computed in an OR operation
Throws:
OwExprEvaluationException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.