Class VariationPointsFactory
java.lang.Object
com.nomagic.magicdraw.variants.variationpoints.VariationPointsFactory
Factory to create all possible types of variation points
Created variation point defines how some element will be transformed during variant realization
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateActivityBranchExistenceVariationPoint
(Element element, BooleanEvaluator evaluator) createBehaviorVariationPoint
(Element element, Evaluator<Behavior> evaluator) createDefaultValueVariationPoint
(Element element, Evaluator<Object> evaluator) createExistenceVariationPoint
(Element element, BooleanEvaluator evaluator) createMultiplicityVariationPoint
(Element element, Evaluator<String> evaluator) createPropertyVariationPoint
(Element element, String propertyName, Evaluator<Object> evaluator) com.nomagic.magicdraw.variants.variationpoints.TagVariationPoint
createTagVariationPoint
(Element element, Stereotype stereotype, String tagName, Evaluator<Object> evaluator) createTypeVariationPoint
(Element element, Evaluator<Type> evaluator)
-
Constructor Details
-
VariationPointsFactory
public VariationPointsFactory()
-
-
Method Details
-
createExistenceVariationPoint
public VariationPoint<Boolean> createExistenceVariationPoint(Element element, BooleanEvaluator evaluator) -
createActivityBranchExistenceVariationPoint
public VariationPoint<Boolean> createActivityBranchExistenceVariationPoint(Element element, BooleanEvaluator evaluator) -
createPropertyVariationPoint
public PropertyVariationPoint createPropertyVariationPoint(Element element, String propertyName, Evaluator<Object> evaluator) -
createTagVariationPoint
public com.nomagic.magicdraw.variants.variationpoints.TagVariationPoint createTagVariationPoint(Element element, Stereotype stereotype, String tagName, Evaluator<Object> evaluator) -
createMultiplicityVariationPoint
public PropertyVariationPoint createMultiplicityVariationPoint(Element element, Evaluator<String> evaluator) -
createDefaultValueVariationPoint
public PropertyVariationPoint createDefaultValueVariationPoint(Element element, Evaluator<Object> evaluator) -
createTypeVariationPoint
-
createBehaviorVariationPoint
public PropertyVariationPoint createBehaviorVariationPoint(Element element, Evaluator<Behavior> evaluator)
-