public class PartialEvaluatorFactoryImpl extends java.lang.Object implements PartialEvaluatorFactory
INSTANCE
Constructor and Description |
---|
PartialEvaluatorFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
PartialEvaluatorImpl |
createPartialEvaluator(org.eclipse.emf.common.notify.Notification atPre,
OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Taking a
Notification object such that an evaluation will be
based on the state *before* the notification. |
PartialEvaluatorImpl |
createPartialEvaluator(OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Constructs the OCL instance using
OCLFactory.createOCL(OppositeEndFinder) , passing the
oppositeEndFinder provided. |
public PartialEvaluatorImpl createPartialEvaluator(org.eclipse.emf.common.notify.Notification atPre, OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
PartialEvaluatorFactory
Notification
object such that an evaluation will be
based on the state *before* the notification. For example, if the
notification indicates the removal of a reference from an element
e1 to an element e2 across reference r then
when during partial evaluation r is traversed starting from
e1 then e2 will show in the results although in the
current version of the model it would not.
createPartialEvaluator
in interface PartialEvaluatorFactory
atPre
- if null
, the constructor behaves the same as
PartialEvaluatorFactory.createPartialEvaluator(OppositeEndFinder, OCLFactory)
public PartialEvaluatorImpl createPartialEvaluator(OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
PartialEvaluatorFactory
OCLFactory.createOCL(OppositeEndFinder)
, passing the
oppositeEndFinder
provided. A default PartialEcoreEnvironmentFactory
is
used, configured as well with the oppositeEndFinder
provided here.createPartialEvaluator
in interface PartialEvaluatorFactory