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