|
||||||||||
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.EObjectSource
public class EObjectSource
This class represents a simple implementation of IEObjectSource
that is constructed with one EObject or a collection of EObjects.
This class is intended to be used by clients that need to pass their input to a query statement for execution.
Constructor Summary | |
---|---|
EObjectSource(Collection<? extends EObject> eObjects)
Initializes me with (potentially) multiple sub-trees from which to get objects. |
|
EObjectSource(EObject eObject)
Initializes me with a single sub-tree from which to get objects. |
Method Summary | |
---|---|
Set<? extends EObject> |
getEObjects()
A getter for the EObjects supplied by this IEObjectSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EObjectSource(EObject eObject)
eObject
- the root of a sub-tree to querypublic EObjectSource(Collection<? extends EObject> eObjects)
eObjects
- the roots (zero or more) of sub-trees to queryMethod Detail |
---|
public Set<? extends EObject> getEObjects()
IEObjectSource
IEObjectSource
getEObjects
in interface IEObjectSource
IEObjectSource
furnishes
|
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 |