|
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.IN
An EObjectCondition specialization used to test whether a
given EObject is present in a collection of EObjects
| 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 | |
IN(org.eclipse.emf.ecore.EObject eObject)
A simple constructor, takes in a single EObject to use for
evaluation. |
|
IN(IEObjectSource eObjectSource)
A constructor, takes in the initial IEObjectSource whose supplied EObjects are to be used for evaluation |
|
IN(Set eObjects)
A constructor, takes in the initial EObjects set to use for evaluation |
|
| Method Summary | |
boolean |
isSatisfied(org.eclipse.emf.ecore.EObject eObject)
Answers whether the argument eObject exist in the initial set of EObjects held by this IN condition. |
| Methods inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition |
AND, EQUIVALENT, getPruneHandler, IMPLIES, isSatisfied, OR, shouldPrune, 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 IN(Set eObjects)
eObjects - The set of EObjects to check if they contain amongst them some
other EObjectpublic IN(org.eclipse.emf.ecore.EObject eObject)
EObject to use for
evaluation. In effect this makes this EObjectCondition
behaves like EObjectInstanceCondition
eObject - The EObject to test for.EObjectInstanceConditionpublic IN(IEObjectSource eObjectSource)
eObjectSource - The supplier of EObjects to use in test| Method Detail |
public boolean isSatisfied(org.eclipse.emf.ecore.EObject eObject)
isSatisfied in class EObjectConditioneObject - the EObject to check
true if the argument eObject satisfies
this EObjectConditionEObjectCondition.isSatisfied(org.eclipse.emf.ecore.EObject)
|
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.