Class Behaviors

java.lang.Object
com.nomagic.magicdraw.uml2.Behaviors

public class Behaviors extends Object
Convenience utility methods that operate on Behavior elements
  • Constructor Details

    • Behaviors

      public Behaviors()
  • Method Details

    • 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