Class MagicDrawProfile.ElementReferenceInTextStereotype

    • Constructor Detail

      • ElementReferenceInTextStereotype

        protected ElementReferenceInTextStereotype​(MagicDrawProfile profile)
    • Method Detail

      • getReferenceDataProperty

        @CheckForNull
        public Property getReferenceDataProperty()
      • getReferredElementsProperty

        @CheckForNull
        public Property getReferredElementsProperty()
      • setReferenceData

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

        public void clearReferenceData​(Element element)
      • getReferenceData

        @CheckForNull
        public java.lang.String getReferenceData​(Element element)
      • setReferredElements

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

        public void clearReferredElements​(Element element)
      • addReferredElements

        public void addReferredElements​(Element element,
                                        Element value)
      • removeReferredElements

        public void removeReferredElements​(Element element,
                                           Element value)
      • getReferredElements

        public java.util.List<Element> getReferredElements​(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)