Class MagicDrawProfile.LegendUsageStereotype

    • Constructor Detail

      • LegendUsageStereotype

        protected LegendUsageStereotype​(MagicDrawProfile profile)
    • Method Detail

      • getAppliedLegendsProperty

        @CheckForNull
        public Property getAppliedLegendsProperty()
      • setAppliedLegends

        public void setAppliedLegends​(Element element,
                                      @CheckForNull
                                      java.util.Collection<? extends Element> value)
      • clearAppliedLegends

        public void clearAppliedLegends​(Element element)
      • addAppliedLegends

        public void addAppliedLegends​(Element element,
                                      Element value)
      • removeAppliedLegends

        public void removeAppliedLegends​(Element element,
                                         Element value)
      • getAppliedLegends

        public java.util.List<Element> getAppliedLegends​(Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          Element element)
        Description copied from class: ProfileImplementation.StereotypeWrapper
        Checks if stereotype of this wrapper is applied to given element.
        Parameters:
        element - element
        Returns:
        true if stereotype of this wrapper is applied to given element
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         Element element)