public class ImpactAnalyzerFactoryImpl extends java.lang.Object implements ImpactAnalyzerFactory
INSTANCE
Constructor and Description |
---|
ImpactAnalyzerFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs a notifier for all derived properties in
pkg
which efficiently, based on an ImpactAnalyzer , constructs and
emits Notification s for derived, OCL-specified
properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg,
OCLFactory oclFactory)
Constructs a notifier for all derived properties in
pkg
which efficiently, based on an ImpactAnalyzer , constructs and
emits Notification s for derived, OCL-specified
properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg,
OppositeEndFinder oppositeEndFinder,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs a notifier for all derived properties in
pkg
which efficiently, based on an ImpactAnalyzer , constructs and
emits Notification s for derived, OCL-specified
properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg,
OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Constructs a notifier for all derived properties in
pkg
which efficiently, based on an ImpactAnalyzer , constructs and
emits Notification s for derived, OCL-specified
properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs a notifier for derived properties which efficiently, based on
an
ImpactAnalyzer , constructs and emits Notification s for
derived, OCL-specified properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property,
OCLFactory oclFactory)
Constructs a notifier for derived properties which efficiently, based on
an
ImpactAnalyzer , constructs and emits Notification s for
derived, OCL-specified properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property,
OppositeEndFinder oppositeEndFinder,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs a notifier for derived properties which efficiently, based on
an
ImpactAnalyzer , constructs and emits Notification s for
derived, OCL-specified properties . |
DerivedPropertyNotifier |
createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property,
OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Constructs a notifier for derived properties which efficiently, based on
an
ImpactAnalyzer , constructs and emits Notification s for
derived, OCL-specified properties . |
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
boolean notifyOnNewContextElements,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
boolean notifyOnNewContextElements,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
boolean notifyOnNewContextElements,
OppositeEndFinder oppositeEndFinder,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
boolean notifyOnNewContextElements,
OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
org.eclipse.emf.ecore.EClass context,
boolean notifyOnNewContextElements,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified with an explicit context type specification.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
org.eclipse.emf.ecore.EClass context,
boolean notifyOnNewContextElements,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified with an explicit context type specification.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
org.eclipse.emf.ecore.EClass context,
boolean notifyOnNewContextElements,
OppositeEndFinder oppositeEndFinder,
ActivationOption configuration,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified with an explicit context type specification.
|
ImpactAnalyzer |
createImpactAnalyzer(OCLExpression expression,
org.eclipse.emf.ecore.EClass context,
boolean notifyOnNewContextElements,
OppositeEndFinder oppositeEndFinder,
OCLFactory oclFactory)
Constructs an impact analyzer for the expression specified with an explicit context type specification.
|
public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, boolean notifyOnNewContextElements, OCLFactory oclFactory)
ImpactAnalyzerFactory
self
in the expression. If no self
occurrence can be found, an exception will be thrown. The
configuration is taken from the default OptimizationActivation.getOption()
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type and its subtypes or not. (Creation here means that the object is added to a resource in the
ResourceSet
observed by the EventManager
used for handling change events.) Registering for
element creation on the context type is useful for invariants / constraints because when a new element is
created, validating the constraint may be useful. For other use cases, registering for element creation may not
be so useful. For example, when a type inferencer defines its rules using OCL, it only wants to receive
update events after the element has been fully initialized from those OCL expressions. In those cases,
some framework may be responsible for the initial evaluation of those OCL expressions on new element, and
therefore, context element creation events are not of interest.public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, org.eclipse.emf.ecore.EClass context, boolean notifyOnNewContextElements, OCLFactory oclFactory)
ImpactAnalyzerFactory
expression
does not contain any reference to self
. The configuration is taken from the
default OptimizationActivation.getOption()
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type and its subtypes or not. (Creation here means that the object is added to a resource in the
ResourceSet
observed by the EventManager
used for handling change events.) Registering for
element creation on the context type is useful for invariants / constraints because when a new element is
created, validating the constraint may be useful. For other use cases, registering for element creation may not
be so useful. For example, when a type inferencer defines its rules using OCL, it only wants to receive
update events after the element has been fully initialized from those OCL expressions. In those cases,
some framework may be responsible for the initial evaluation of those OCL expressions on new element, and
therefore, context element creation events are not of interest.public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, org.eclipse.emf.ecore.EClass context, boolean notifyOnNewContextElements, OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
ImpactAnalyzerFactory
expression
does not contain any reference to self
. The configuration is taken from the
default OptimizationActivation.getOption()
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.oppositeEndFinder
- used to perform OppositePropertyCallExp
when evaluating (parts of) expression
and for
evaluating allInstances()
callspublic ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, boolean notifyOnNewContextElements, OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
ImpactAnalyzerFactory
self
in the expression. If no self
occurrence can be found, an exception will be thrown. The
configuration is taken from the default OptimizationActivation.getOption()
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.oppositeEndFinder
- used to perform OppositePropertyCallExp
when evaluating (parts of) expression
and for
evaluating allInstances()
callspublic ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, boolean notifyOnNewContextElements, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
self
in the expression. If no self
occurrence can be found, an exception will be thrown.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, org.eclipse.emf.ecore.EClass context, boolean notifyOnNewContextElements, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
expression
does not contain any reference to self
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, org.eclipse.emf.ecore.EClass context, boolean notifyOnNewContextElements, OppositeEndFinder oppositeEndFinder, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
expression
does not contain any reference to self
.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.public ImpactAnalyzer createImpactAnalyzer(OCLExpression expression, boolean notifyOnNewContextElements, OppositeEndFinder oppositeEndFinder, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
self
in the expression. If no self
occurrence can be found, an exception will be thrown.createImpactAnalyzer
in interface ImpactAnalyzerFactory
notifyOnNewContextElements
- The analyzer can be parameterized during construction such that it either registers for creation events on the
context type or not. Registering for element creation on the context type is useful for invariants / constraints
because when a new element is created, validating the constraint may be useful. For other use cases, registering
for element creation may not be so useful. For example, when a type inferencer defines its rules using OCL, it
only wants to receive update events after the element has been fully initialized from those OCL
expressions. In those cases, some framework may be responsible for the initial evaluation of those OCL
expressions on new element, and therefore, context element creation events are not of interest.public DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property, OCLFactory oclFactory)
ImpactAnalyzerFactory
ImpactAnalyzer
, constructs and emits Notification
s for
derived, OCL-specified properties
.
This variant uses a default opposite end
finder
for resolving and navigating OppositePropertyCallExp
expressions. The configuration is taken from the default
OptimizationActivation.getOption()
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
property
- the derived
propertypublic DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
ImpactAnalyzer
, constructs and emits Notification
s for
derived, OCL-specified properties
.
This variant uses a default opposite end
finder
for resolving and navigating OppositePropertyCallExp
expressions.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
property
- the derived
propertypublic DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property, OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
ImpactAnalyzerFactory
ImpactAnalyzer
, constructs and emits Notification
s for
derived, OCL-specified properties
.
The configuration is taken from the default
OptimizationActivation.getOption()
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
property
- the derived
propertyoppositeEndFinder
- used to perform OppositePropertyCallExp
when
evaluating (parts of) expression
and for
evaluating allInstances()
callspublic DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EStructuralFeature property, OppositeEndFinder oppositeEndFinder, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
ImpactAnalyzer
, constructs and emits Notification
s for
derived, OCL-specified properties
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
property
- the derived
propertyoppositeEndFinder
- used to perform OppositePropertyCallExp
when
evaluating (parts of) expression
and for
evaluating allInstances()
callspublic DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg, OCLFactory oclFactory)
ImpactAnalyzerFactory
pkg
which efficiently, based on an ImpactAnalyzer
, constructs and
emits Notification
s for derived, OCL-specified
properties
.
This variant uses a default opposite end
finder
for resolving and navigating OppositePropertyCallExp
expressions. The configuration is taken from the default
OptimizationActivation.getOption()
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
public DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
pkg
which efficiently, based on an ImpactAnalyzer
, constructs and
emits Notification
s for derived, OCL-specified
properties
.
This variant uses a default opposite end
finder
for resolving and navigating OppositePropertyCallExp
expressions.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
public DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg, OppositeEndFinder oppositeEndFinder, OCLFactory oclFactory)
ImpactAnalyzerFactory
pkg
which efficiently, based on an ImpactAnalyzer
, constructs and
emits Notification
s for derived, OCL-specified
properties
.
The configuration is taken from the default
OptimizationActivation.getOption()
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
oppositeEndFinder
- used to perform OppositePropertyCallExp
when
evaluating (parts of) expression
and for
evaluating allInstances()
callspublic DerivedPropertyNotifier createDerivedPropertyNotifier(org.eclipse.emf.ecore.EPackage pkg, OppositeEndFinder oppositeEndFinder, ActivationOption configuration, OCLFactory oclFactory)
ImpactAnalyzerFactory
pkg
which efficiently, based on an ImpactAnalyzer
, constructs and
emits Notification
s for derived, OCL-specified
properties
.
createDerivedPropertyNotifier
in interface ImpactAnalyzerFactory
oppositeEndFinder
- used to perform OppositePropertyCallExp
when
evaluating (parts of) expression
and for
evaluating allInstances()
calls