public class IterateOverEClassInstances extends ExtendOperation<org.eclipse.emf.ecore.EObject> implements IIteratingSearchOperation
EClass
instances using an VIATRA Base indexer
. It is
assumed that the base indexer has been registered for the selected type.it, position
Constructor and Description |
---|
IterateOverEClassInstances(int position,
org.eclipse.emf.ecore.EClass clazz) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EClass |
getClazz() |
IInputKey |
getIteratedInputKey()
Get the
IInputKey which instances this operation iterates upon. |
java.util.List<java.lang.Integer> |
getVariablePositions() |
void |
onInitialize(MatchingFrame frame,
ISearchContext context)
During the execution of the corresponding plan, the onInitialize callback is evaluated before the execution of
the operation may begin.
|
java.lang.String |
toString() |
execute, onBacktrack
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
execute, onBacktrack
public IterateOverEClassInstances(int position, org.eclipse.emf.ecore.EClass clazz)
public org.eclipse.emf.ecore.EClass getClazz()
public void onInitialize(MatchingFrame frame, ISearchContext context)
ISearchOperation
onInitialize
in interface ISearchOperation
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.lang.Integer> getVariablePositions()
getVariablePositions
in interface ISearchOperation
public IInputKey getIteratedInputKey()
IIteratingSearchOperation
IInputKey
which instances this operation iterates upon.getIteratedInputKey
in interface IIteratingSearchOperation