SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class Or

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.BaseOperator
          extended by org.smartfrog.sfcore.languages.sf.functions.Or
All Implemented Interfaces:
Function

public class Or
extends BaseOperator

Defines the disjunction function


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Or()
           
 
Method Summary
protected  java.lang.Object doOperator(java.lang.Object a, java.lang.Object b)
          Disjunction of two booleans.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseOperator
doFunction
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Or

public Or()
Method Detail

doOperator

protected java.lang.Object doOperator(java.lang.Object a,
                                      java.lang.Object b)
                               throws SmartFrogCompileResolutionException
Disjunction of two booleans.

Specified by:
doOperator in class BaseOperator
Parameters:
a - first boolean
b - second boolean
Returns:
the disjunction
Throws:
SmartFrogCompileResolutionException - if the types of the attributes are not correct

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP