|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.emf.query.conditions.Condition
org.eclipse.emf.query.conditions.eobjects.EObjectCondition
org.eclipse.emf.query.conditions.eobjects.structuralfeatures.EObjectReferencerCondition
An EObjectCondition subclass that tests if a given
EObject references another EObject.
For the purposes of this condition, a container or containment EReference is not considered a "reference."
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.query.conditions.eobjects.EObjectCondition |
|---|
E_FALSE, E_TRUE |
| Fields inherited from class org.eclipse.emf.query.conditions.Condition |
|---|
FALSE, TRUE |
| Constructor Summary | |
|---|---|
EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject)
A constructor, initializes this EObjectReferencerCondition
with the passed arguments. |
|
EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor, initializes this EObjectReferencerCondition
with the passed arguments. |
|
EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
* A constructor, initializes this EObjectReferencerCondition
with the passed arguments. |
|
| Method Summary | |
|---|---|
boolean |
isSatisfied(org.eclipse.emf.ecore.EObject eObject)
Checks the argument eObject if it has any non-containment EReference whose value is equal to/contains the
referencedEObject that this EObjectReferencerCondition is
initialized with. |
| Methods inherited from class org.eclipse.emf.query.conditions.eobjects.EObjectCondition |
|---|
AND, EQUIVALENT, getPruneHandler, IMPLIES, isSatisfied, OR, shouldPrune, XOR |
| 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 |
public EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectReferencerCondition
with the passed arguments. It default to using PruneHandler.NEVER
referencedEObject - The EObject to search foreStructuralFeatureValueGetter - the referencing EReference value getterpublic EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject)
A constructor, initializes this EObjectReferencerCondition
with the passed arguments. It default to using PruneHandler.NEVER
The default EStructuralFeatureValueGetter will be used when accessing the
values of the EReferences.
referencedEObject - The EObject to search for
public EObjectReferencerCondition(org.eclipse.emf.ecore.EObject referencedEObject,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
EObjectReferencerCondition
with the passed arguments. It default to using PruneHandler.NEVER
referencedEObject - The EObject to search foreStructuralFeatureValueGetter - the referencing EReference value getterpruneHandler - The PruneHandler| Method Detail |
public boolean isSatisfied(org.eclipse.emf.ecore.EObject eObject)
EReference whose value is equal to/contains the
referencedEObject that this EObjectReferencerCondition is
initialized with.
isSatisfied in class EObjectConditioneObject - the EObject to check
true if the argument eObject satisfies
this EObjectConditionEObjectCondition.isSatisfied(org.eclipse.emf.ecore.EObject)
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||