|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.query.conditions.eobjects.structuralfeatures.EStructuralFeatureValueGetter
public class EStructuralFeatureValueGetter
A default implementation of the IEStructuralFeatureValueGetter
interface. It behaves as though the argument eObject passed to it require no
preparation or modification before or after invoking its methods and
therefore it accesses the methods of the argument eObject passed to it
directly.
Constructor Summary | |
---|---|
EStructuralFeatureValueGetter()
Deprecated. Use the singleton provided by getInstance() . |
Method Summary | |
---|---|
List<EObject> |
eContents(EObject eObject,
EObjectCondition filterCondition)
Extract the contained EObjects of the argument eObject. and return them as a list. |
Object |
eGet(EObject eObject,
EStructuralFeature eFeature,
boolean resolve)
An EStructuralFeature 's value getter. |
static IEStructuralFeatureValueGetter |
getInstance()
|
EObject |
resolve(EObject eObject)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public EStructuralFeatureValueGetter()
getInstance()
.
Method Detail |
---|
public static IEStructuralFeatureValueGetter getInstance()
public List<EObject> eContents(EObject eObject, EObjectCondition filterCondition)
IEStructuralFeatureValueGetter
EObjectCondition
as a
filtering condition of the content list where only those children
EObjects that satisfy the filterCondition will be returned to the caller
eContents
in interface IEStructuralFeatureValueGetter
eObject
- The EObject
to extract children fromfilterCondition
- The EObjectCondition
to apply on the children
in order to remove out those that don't satisfy it. It could
be null
.
public Object eGet(EObject eObject, EStructuralFeature eFeature, boolean resolve)
IEStructuralFeatureValueGetter
EStructuralFeature
's value getter.
eGet
in interface IEStructuralFeatureValueGetter
eObject
- The context eObject whose EStructuralFeature
's
value is to be returnedeFeature
- The EStructuralFeature
whose value is to be
returnedresolve
- A boolean flag indicating whether to resolve or not when
extracting the value.
public EObject resolve(EObject eObject)
resolve
in interface IEStructuralFeatureValueGetter
eObject
- The EObject
to be prepared
EObject
IEStructuralFeatureValueGetter.resolve(org.eclipse.emf.ecore.EObject)
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |