Class MagicDrawProfile.AdornmentRuleStereotype

    • Field Detail

      • ADORNEDPROPERTIES

        public static final java.lang.String ADORNEDPROPERTIES
        Specify the property of the element to which the adornment would be applied.
        See Also:
        Constant Field Values
      • ADORNMENT

        public static final java.lang.String ADORNMENT
        Adorns symbol on diagram pane.
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Specify the priority of legend item. Enter a number between 1 and 1000. The bigger the value, the higher the priority.
        See Also:
        Constant Field Values
      • adornedProperties

        @CheckForNull
        private Property adornedProperties
      • adornment

        @CheckForNull
        private Property adornment
      • priority

        @CheckForNull
        private Property priority
    • Constructor Detail

      • AdornmentRuleStereotype

        protected AdornmentRuleStereotype​(MagicDrawProfile profile)
    • Method Detail

      • getAdornedPropertiesProperty

        @CheckForNull
        public Property getAdornedPropertiesProperty()
      • getAdornmentProperty

        @CheckForNull
        public Property getAdornmentProperty()
      • getPriorityProperty

        @CheckForNull
        public Property getPriorityProperty()
      • getImplementationProperty

        @CheckForNull
        public Property getImplementationProperty()
      • setAdornedProperties

        public void setAdornedProperties​(Element element,
                                         @CheckForNull
                                         java.util.Collection<java.lang.String> value)
      • clearAdornedProperties

        public void clearAdornedProperties​(Element element)
      • addAdornedProperties

        public void addAdornedProperties​(Element element,
                                         java.lang.String value)
      • removeAdornedProperties

        public void removeAdornedProperties​(Element element,
                                            java.lang.String value)
      • getAdornedProperties

        public java.util.List<java.lang.String> getAdornedProperties​(Element element)
      • setAdornment

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

        public void clearAdornment​(Element element)
      • getAdornment

        @CheckForNull
        public java.lang.Object getAdornment​(Element element)
      • setPriority

        public void setPriority​(Element element,
                                @CheckForNull
                                java.lang.Integer value)
      • clearPriority

        public void clearPriority​(Element element)
      • getPriority

        @CheckForNull
        public java.lang.Integer getPriority​(Element element)
      • setImplementation

        public void setImplementation​(Element element,
                                      @CheckForNull
                                      java.lang.String value)
      • clearImplementation

        public void clearImplementation​(Element element)
      • getImplementation

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