javax.rad.model.condition
Class And

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

public class And
extends OperatorCondition

The And condition implements the AND operator.

See Also:
Serialized Form

Constructor Summary
And()
          Creates a new instance of And.
And(ICondition... pConditions)
          Creates a new instance of And.
 
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

And

public And()
Creates a new instance of And.


And

public And(ICondition... pConditions)
Creates a new instance of And. The condition concatinates two ICondition objects with an AND 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.