Class MagicDrawProfile.ReplaceStereotypeStereotype

    • Field Detail

      • DISABLENEWTYPECREATION

        public static final java.lang.String DISABLENEWTYPECREATION
        See Also:
        Constant Field Values
      • DISABLEREPLACEWHERESAVEDASELEMENTVALUE

        public static final java.lang.String DISABLEREPLACEWHERESAVEDASELEMENTVALUE
        See Also:
        Constant Field Values
      • EXPLICITNEWMETACLASS

        public static final java.lang.String EXPLICITNEWMETACLASS
        See Also:
        Constant Field Values
      • disableNewTypeCreation

        @CheckForNull
        private Property disableNewTypeCreation
      • disableReplaceWhereSavedAsElementValue

        @CheckForNull
        private Property disableReplaceWhereSavedAsElementValue
      • explicitNewMetaclass

        @CheckForNull
        private Property explicitNewMetaclass
      • isStrict

        @CheckForNull
        private Property isStrict
    • Constructor Detail

      • ReplaceStereotypeStereotype

        protected ReplaceStereotypeStereotype​(MagicDrawProfile profile)
    • Method Detail

      • getDisableNewTypeCreationProperty

        @CheckForNull
        public Property getDisableNewTypeCreationProperty()
      • getDisableReplaceWhereSavedAsElementValueProperty

        @CheckForNull
        public Property getDisableReplaceWhereSavedAsElementValueProperty()
      • getExplicitNewMetaclassProperty

        @CheckForNull
        public Property getExplicitNewMetaclassProperty()
      • getIsStrictProperty

        @CheckForNull
        public Property getIsStrictProperty()
      • setDisableNewTypeCreation

        public void setDisableNewTypeCreation​(Element element,
                                              @CheckForNull
                                              java.lang.Boolean value)
      • clearDisableNewTypeCreation

        public void clearDisableNewTypeCreation​(Element element)
      • isDisableNewTypeCreation

        @CheckForNull
        public java.lang.Boolean isDisableNewTypeCreation​(Element element)
      • setDisableReplaceWhereSavedAsElementValue

        public void setDisableReplaceWhereSavedAsElementValue​(Element element,
                                                              @CheckForNull
                                                              java.lang.Boolean value)
      • clearDisableReplaceWhereSavedAsElementValue

        public void clearDisableReplaceWhereSavedAsElementValue​(Element element)
      • isDisableReplaceWhereSavedAsElementValue

        @CheckForNull
        public java.lang.Boolean isDisableReplaceWhereSavedAsElementValue​(Element element)
      • setExplicitNewMetaclass

        public void setExplicitNewMetaclass​(Element element,
                                            @CheckForNull
                                            Element value)
      • clearExplicitNewMetaclass

        public void clearExplicitNewMetaclass​(Element element)
      • getExplicitNewMetaclass

        @CheckForNull
        public Element getExplicitNewMetaclass​(Element element)
      • setIsStrict

        public void setIsStrict​(Element element,
                                @CheckForNull
                                java.lang.Boolean value)
      • clearIsStrict

        public void clearIsStrict​(Element element)
      • isIsStrict

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