|
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.eobjects.structuralfeatures.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()
|
Method Summary | |
List |
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. |
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 |
public EStructuralFeatureValueGetter()
Method Detail |
public List 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)
|
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.