Interface MDElement

    • Method Detail

      • getSortKeys

        com.nomagic.magicdraw.uml.SortKeys getSortKeys()
        Implementation of getSortKeys() from Sortable interface.
        Returns:
        the array of predefined sort keys.
      • getName

        @OpenApi
        @CheckForNull
        java.lang.String getName()
        Returns the name of the element. This element will return null always, because it can not have name. However the derived element may override this method and return specific name.
        Returns:
        name of the element.
      • getProjectImpl

        Project getProjectImpl()
      • createSortKeys

        com.nomagic.magicdraw.uml.ElementSortKeys createSortKeys()
      • getResourceID

        java.lang.String getResourceID()
      • canAddChild

        boolean canAddChild​(BaseElement baseElement)
      • accept

        @OpenApi
        void accept​(Visitor visitor)
             throws java.lang.Exception
        Method accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details.
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • getCommandForAppending

        com.nomagic.magicdraw.commands.MacroCommand getCommandForAppending()