Interface BaseEmfUml2Helper

    • Method Detail

      • getUml2DataTypeMap

        com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2DataTypeMap getUml2DataTypeMap()
        Returns datatype map
        Returns:
        datatypes map
      • getMagicDrawAnnotationDetails

        java.util.Map getMagicDrawAnnotationDetails​(java.lang.Object eElement,
                                                    boolean create)
      • getProject

        @OpenApi
        Project getProject()
        Returns current project
        Returns:
        project
      • getLogger

        @OpenApi
        EmfUml2Logger getLogger()
        Returns logger.
        Returns:
        logger
      • markMappedElement

        @OpenApi
        void markMappedElement​(java.lang.Object element)
        Marks that element is mapped. Mapped element - element is not created, but used in UML2 model.
        Parameters:
        element -
      • isMappedElement

        @OpenApi
        boolean isMappedElement​(java.lang.Object element)
        Checks if given element is mapped.
        Parameters:
        element -
        Returns:
        true - if mapped.
      • markSkippedElement

        @OpenApi
        void markSkippedElement​(java.lang.Object element)
        Mark skipped element.
        Parameters:
        element -
      • isRemovableElement

        @OpenApi
        boolean isRemovableElement​(java.lang.Object element)
        Checks if element will be removed or already disposed. Element can be disposed if during export/import differs composite reference multiplicity (* to 1)
        Parameters:
        element -
        Returns:
        true - if will element should be removed or are alredy removed.
      • markRemovableElement

        void markRemovableElement​(java.lang.Object element)
        Mark element that will be removed or already disposed
        Parameters:
        element -
      • getFinalizeActivities

        java.util.List<FinalizeActivity> getFinalizeActivities()
      • isSkippedElement

        @OpenApi
        boolean isSkippedElement​(java.lang.Object element)
        Checks if given element is skipped.
        Parameters:
        element -
      • getPersistenceHelper

        com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2PersistenceHelper getPersistenceHelper()
      • addCreatedElementIDData

        void addCreatedElementIDData​(java.lang.Object createdElement,
                                     java.lang.Object relatedElement,
                                     java.lang.String extra)
      • getCreatedElementsIDData

        java.util.Map getCreatedElementsIDData()
      • clearCreatedElementsIDData

        void clearCreatedElementsIDData()
      • setMDElementID

        void setMDElementID​(BaseElement mdElement,
                            java.lang.Object eElement)
        Set MD element id according given EMF element id. If there is id's conflict id is not changed.
        Parameters:
        mdElement - MD element
        eElement - EMF element
      • getEElementName

        @OpenApi
        java.lang.String getEElementName​(java.lang.Object eElement)
        Returns element human name.
        Specified by:
        getEElementName in interface BaseEElementNameRetriever
        Parameters:
        eElement -
        Returns:
        element type + qualified name
      • getMDProjectBuiltinProfiles

        java.util.List<java.lang.String> getMDProjectBuiltinProfiles()
        Returns profiles that are "built-in" in MagicDraw project
        Returns: