org.eclipse.emf.query.conditions
Class Not

java.lang.Object
  extended by org.eclipse.emf.query.conditions.Condition
      extended by org.eclipse.emf.query.conditions.Not

public class Not
extends Condition

A Condition that negates the result of evaluation of another Condition


Field Summary
 
Fields inherited from class org.eclipse.emf.query.conditions.Condition
FALSE, TRUE
 
Constructor Summary
Not(Condition condition)
          Constructor of this negating Condition
 
Method Summary
 boolean isSatisfied(Object object)
          This operation is the evaluation operation of this Condition in regard to the argument Object.
 
Methods inherited from class org.eclipse.emf.query.conditions.Condition
AND, EQUIVALENT, IMPLIES, OR, XOR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Not

public Not(Condition condition)
Constructor of this negating Condition

Parameters:
condition - The Condition whose evaluation result is negated
Method Detail

isSatisfied

public boolean isSatisfied(Object object)
Description copied from class: Condition
This operation is the evaluation operation of this Condition in regard to the argument Object. In other words, the operation answers whether the argument Object satisfied this Condition or not.

Specified by:
isSatisfied in class Condition
Parameters:
object - an Object to check if it satisfies this Condition
Returns:
true if the argument Object satisfies this Condition,false otherwise.

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.