javax.rad.model.condition
Class Or

java.lang.Object
  extended by javax.rad.model.condition.BaseCondition
      extended by javax.rad.model.condition.OperatorCondition
          extended by javax.rad.model.condition.Or
All Implemented Interfaces:
Serializable, Cloneable, ICondition

public class Or
extends OperatorCondition

The Or condition implements the OR operator.

See Also:
Serialized Form

Constructor Summary
Or()
          Creates a new instance of Or.
Or(ICondition... pConditions)
          Creates a new instance of Or.
 
Method Summary
 boolean isFulfilled(IDataRow pDataRow)
          Returns true, if the ICondition is fulfilled.
 
Methods inherited from class javax.rad.model.condition.OperatorCondition
add, clone, getConditions, remove, setConditions
 
Methods inherited from class javax.rad.model.condition.BaseCondition
and, or, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Or

public Or()
Creates a new instance of Or.


Or

public Or(ICondition... pConditions)
Creates a new instance of Or. The condition concatinates two ICondition objects with an OR operation.

Parameters:
pConditions - operands to set
Method Detail

isFulfilled

public boolean isFulfilled(IDataRow pDataRow)
Returns true, if the ICondition is fulfilled.

Parameters:
pDataRow - the IDataRow to use for the check of this ICondition.
Returns:
true, if the ICondition is fulfilled.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.