Class MagicDrawProfile.MetaPropertyStereotype

    • Constructor Detail

      • MetaPropertyStereotype

        protected MetaPropertyStereotype​(MagicDrawProfile profile)
    • Method Detail

      • getNewNameProperty

        @CheckForNull
        public Property getNewNameProperty()
      • getNewTypesProperty

        @CheckForNull
        public Property getNewTypesProperty()
      • getSuggestedValuesProperty

        @CheckForNull
        public Property getSuggestedValuesProperty()
      • setNewName

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

        public void clearNewName​(Element element)
      • getNewName

        @CheckForNull
        public java.lang.String getNewName​(Element element)
      • setNewTypes

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

        public void clearNewTypes​(Element element)
      • addNewTypes

        public void addNewTypes​(Element element,
                                Element value)
      • removeNewTypes

        public void removeNewTypes​(Element element,
                                   Element value)
      • getNewTypes

        public java.util.List<Element> getNewTypes​(Element element)
      • setSuggestedValues

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

        public void clearSuggestedValues​(Element element)
      • addSuggestedValues

        public void addSuggestedValues​(Element element,
                                       java.lang.String value)
      • removeSuggestedValues

        public void removeSuggestedValues​(Element element,
                                          java.lang.String value)
      • getSuggestedValues

        public java.util.List<java.lang.String> getSuggestedValues​(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)