|
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.EObjectTypeRelationCondition
com.ibm.xtools.emf.query.conditions.eobjects.EObjectInstanceCondition
A EObjectCondition that tests whether the argument eObject
instance equals a given eObject.
| Field Summary |
| Fields inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectTypeRelationCondition |
UNDEFINED |
| 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 | |
EObjectInstanceCondition(EObject eObject)
A simple constructor that allows callers to initialize the EObject instance to use for equality testing by this
EObjectInstanceCondition. |
|
EObjectInstanceCondition(EObject eObject,
PruneHandler pruneHandler)
A constructor that allows callers to initialize this EObjectInstanceCondition |
|
| Method Summary | |
protected EObject |
getEObject()
A getter function for the EObject instance used by this
EObjectInstanceCondition |
boolean |
isSatisfied(EObject eObj)
Tests whether the argument EObject instance equals this
EObjectInstanceCondition's own EObject
instance. |
| 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 EObjectInstanceCondition(EObject eObject)
EObject instance to use for equality testing by this
EObjectInstanceCondition. This constructor uses
PruneHandler.NEVER
eObject - the EObject to use in equality testing
public EObjectInstanceCondition(EObject eObject,
PruneHandler pruneHandler)
EObjectInstanceCondition
eObject - the EObject to use in equality testingpruneHandler - the PruneHandler to use| Method Detail |
public boolean isSatisfied(EObject eObj)
EObject instance equals this
EObjectInstanceCondition's own EObject
instance.
isSatisfied in class EObjectTypeRelationConditionEObjectCondition.isSatisfied(org.eclipse.emf.ecore.EObject)protected final EObject getEObject()
EObject instance used by this
EObjectInstanceCondition
EObject the given object instance which we test
equality for
|
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.