Package com.nomagic.magicdraw.uml2.util
Class CompatibilityUtil.FeatureNode
- java.lang.Object
-
- com.nomagic.magicdraw.uml2.util.CompatibilityUtil.FeatureNode
-
- Enclosing class:
- CompatibilityUtil
private static class CompatibilityUtil.FeatureNode extends java.lang.Object
Utility class for feature compatibility analysis.
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.emf.ecore.EStructuralFeature
feature
Associated feature.private java.util.List<CompatibilityUtil.AnalysisTransition>
transitions
Transitions that represents which other features are affected by change of the feature associated with this node.
-
Constructor Summary
Constructors Constructor Description FeatureNode(org.eclipse.emf.ecore.EStructuralFeature feature)
Creates and initializes a newCompatibilityUtil$FeatureNode
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addAnalysisTransition(CompatibilityUtil.AnalysisTransition transition)
Adds a new transition.void
addAnalysisTransition(CompatibilityUtil.FeatureNode endNode, CompatibilityUtil.AnalysisTransition.Reason reason)
Adds a new transition to the specified endNode.
-
-
-
Field Detail
-
feature
private final org.eclipse.emf.ecore.EStructuralFeature feature
Associated feature.
-
transitions
private java.util.List<CompatibilityUtil.AnalysisTransition> transitions
Transitions that represents which other features are affected by change of the feature associated with this node.
-
-
Method Detail
-
addAnalysisTransition
public void addAnalysisTransition(CompatibilityUtil.FeatureNode endNode, CompatibilityUtil.AnalysisTransition.Reason reason)
Adds a new transition to the specified endNode.- Parameters:
endNode
- end of the transition.reason
- reason of the transition.
-
addAnalysisTransition
private void addAnalysisTransition(CompatibilityUtil.AnalysisTransition transition)
Adds a new transition.- Parameters:
transition
- a transition.
-
-