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:
java.io.Serializable, java.lang.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 clone()
          Return a clone of the specific ICondition.
 ICondition getCondition()
          Returns the ICondition to negate.
 boolean isFulfilled(IDataRow pDataRow)
          Returns true, if the ICondition is fulfilled.
 void setCondition(ICondition pCondition)
          Sets the ICondition to negate.
 
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

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.

clone

public ICondition clone()
Return a clone of the specific ICondition.

Specified by:
clone in interface ICondition
Overrides:
clone in class BaseCondition
Returns:
a clone of the specific ICondition.

getCondition

public ICondition getCondition()
Returns the ICondition to negate.

Returns:
the ICondition to negate.

setCondition

public void setCondition(ICondition pCondition)
Sets the ICondition to negate.

Parameters:
pCondition - the ICondition to negate.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.