public class IterateOverEDatatypeInstances extends ExtendOperation<java.lang.Object> implements IIteratingSearchOperation
EDataType
instances using an VIATRA Base indexer
. It is
assumed that the indexer is initialized for the selected EDataType
.it, position
Constructor and Description |
---|
IterateOverEDatatypeInstances(int position,
org.eclipse.emf.ecore.EDataType dataType) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EDataType |
getDataType() |
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 IterateOverEDatatypeInstances(int position, org.eclipse.emf.ecore.EDataType dataType)
position
- dataType
- public org.eclipse.emf.ecore.EDataType getDataType()
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