javax.rad.model.condition
Class Not

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

public class Not
extends BaseCondition

The Not condition implements the NOT operator.

See Also:
Serialized Form

Constructor Summary
Not()
          Creates a new instance of Not.
Not(ICondition pCondition)
          Creates a new instance of Not.
 
Method Summary
 ICondition getCondition()
          Returns the ICondition to negate.
 boolean isFulfilled(IDataRow pDataRow)
          Returns true, if the ICondition is fulfilled.
 
Methods inherited from class javax.rad.model.condition.BaseCondition
and, clone, or, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Not

public Not()
Creates a new instance of Not.


Not

public Not(ICondition pCondition)
Creates a new instance of Not. The condition negates another ICondition.

Parameters:
pCondition - condition to negate
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.

getCondition

public ICondition getCondition()
Returns the ICondition to negate.

Returns:
the ICondition to negate.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.