Class MagicDrawProfile.LegendStereotype

    • Field Detail

      • DIAGRAMSBYCONDITION

        public static final java.lang.String DIAGRAMSBYCONDITION
        Specify the condition to check the diagrams for which the legend should be applied.
        See Also:
        Constant Field Values
      • diagramsByCondition

        @CheckForNull
        private Property diagramsByCondition
    • Constructor Detail

    • Method Detail

      • getDiagramsByConditionProperty

        @CheckForNull
        public Property getDiagramsByConditionProperty()
      • setDiagramsByCondition

        public void setDiagramsByCondition​(Element element,
                                           @CheckForNull
                                           java.lang.Object value)
      • clearDiagramsByCondition

        public void clearDiagramsByCondition​(Element element)
      • getDiagramsByCondition

        @CheckForNull
        public java.lang.Object getDiagramsByCondition​(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)