|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.xtools.emf.query.conditions.Condition
com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition
com.ibm.xtools.emf.query.conditions.eobjects.ENot
An EObjectCondition that negates the result of evaluation of
another EObjectCondition. This EObjectCondition
never prune
| Field Summary |
| Fields inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition |
E_FALSE, E_TRUE |
| Fields inherited from class com.ibm.xtools.emf.query.conditions.Condition |
FALSE, TRUE |
| Constructor Summary | |
ENot(EObjectCondition condition)
Constructor of this negating EObjectCondition |
|
| Method Summary | |
boolean |
isSatisfied(org.eclipse.emf.ecore.EObject eObject)
Answers whether the argument eObject satisfies this EObjectCondition |
boolean |
isSatisfied(Object object)
Overrides the parent's implementation by simply checking if the argument object is an instance of EObject first, and if so, it
forwards the actual evaluation to the appropriate overloaded version. |
boolean |
shouldPrune(org.eclipse.emf.ecore.EObject eObject)
Answers whether or not we should apply this EObjectCondition
on the children of the argument eObject. |
| Methods inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition |
AND, EQUIVALENT, getPruneHandler, IMPLIES, OR, XOR |
| Methods inherited from class com.ibm.xtools.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 |
public ENot(EObjectCondition condition)
EObjectCondition
condition - The EObjectCondition whose evaluation result is
negated| Method Detail |
public boolean isSatisfied(Object object)
EObjectConditionEObject first, and if so, it
forwards the actual evaluation to the appropriate overloaded version. If
the argument object does not conform to an EObject it will
return false as a result.
isSatisfied in class EObjectConditionEObjectCondition.isSatisfied(java.lang.Object)public boolean isSatisfied(org.eclipse.emf.ecore.EObject eObject)
EObjectConditionEObjectCondition
isSatisfied in class EObjectConditioneObject - the EObject to check
true if the argument eObject satisfies
this EObjectConditionpublic boolean shouldPrune(org.eclipse.emf.ecore.EObject eObject)
EObjectConditionEObjectCondition
on the children of the argument eObject. This call is forwarded to the
installed PruneHandler.
- Overrides:
shouldPrune in class EObjectCondition
- Parameters:
eObject - the EObject to check to see whether to visit its children or not
- Returns:
- boolean
true if we should prune and false otherwise
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.