|
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(org.eclipse.emf.ecore.EObject eObject,
EObjectCondition filterCondition)
Extract the contained EObjects of the argument eObject. and return them as a list. |
Object |
eGet(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
An EStructuralFeature's value getter. |
org.eclipse.emf.ecore.EObject |
resolve(org.eclipse.emf.ecore.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(org.eclipse.emf.ecore.EObject eObject,
EObjectCondition filterCondition)
IEStructuralFeatureValueGetterEObjectCondition 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 IEStructuralFeatureValueGettereObject - 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(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
IEStructuralFeatureValueGetterEStructuralFeature's value getter.
eGet in interface IEStructuralFeatureValueGettereObject - 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 org.eclipse.emf.ecore.EObject resolve(org.eclipse.emf.ecore.EObject eObject)
resolve in interface IEStructuralFeatureValueGettereObject - The EObject to be prepared
EObjectIEStructuralFeatureValueGetter.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.