Rule Execution Server API

ilog.rules.util
Class IlrSelector.Or

java.lang.Object
  extended by ilog.rules.util.IlrSelector
      extended by ilog.rules.util.IlrSelector.Or
Enclosing class:
IlrSelector

public static class IlrSelector.Or
extends IlrSelector

Or selector, a selector that accepts an object if one of the two underlying selectors accepts it.


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.rules.util.IlrSelector
IlrSelector.And, IlrSelector.Not, IlrSelector.Or
 
Constructor Summary
IlrSelector.Or(IlrSelector firstSelector, IlrSelector secondSelector)
           
 
Method Summary
 boolean isAccepted(Object o)
          Tests if an object is acceptable.
 
Methods inherited from class ilog.rules.util.IlrSelector
accepts, areAccepted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrSelector.Or

public IlrSelector.Or(IlrSelector firstSelector,
                      IlrSelector secondSelector)
Method Detail

isAccepted

public boolean isAccepted(Object o)
Description copied from class: IlrSelector
Tests if an object is acceptable. The best method accepts is called based on the class of the parameter.

Overrides:
isAccepted in class IlrSelector
Parameters:
o - The object to test. If it is null, this method returns false.
Returns:
True if the object is accepted, or False if the object is null or not accepted.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013