Package com.nomagic.magicdraw.uml2
Class Behaviors
java.lang.Object
com.nomagic.magicdraw.uml2.Behaviors
Convenience utility methods that operate on Behavior elements
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Behavior
findBehaviorFor
(Element element) Finds a defining behavior for a given element.static boolean
isReturnParameter
(Parameter parameter)
-
Constructor Details
-
Behaviors
public Behaviors()
-
-
Method Details
-
findBehaviorFor
Finds a defining behavior for a given element. Only BehaviorClassifier and BehaviorFeature are taken into account- Parameters:
element
- element- Returns:
- behavior
-
isReturnParameter
- Parameters:
parameter
- parameter- Returns:
- true if given Parameter has return kind
-