Class BaseEmfUml2Helper

    • Method Detail

      • markMappedElement

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

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

        @OpenApi
        public void markSkippedElement​(java.lang.Object element)
        Mark skipped element.
        Specified by:
        markSkippedElement in interface BaseEmfUml2Helper
        Parameters:
        element -
      • isRemovableElement

        @OpenApi
        public 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)
        Specified by:
        isRemovableElement in interface BaseEmfUml2Helper
        Parameters:
        element -
        Returns:
        true - if will element should be removed or are alredy removed.
      • isSkippedElement

        @OpenApi
        public boolean isSkippedElement​(java.lang.Object element)
        Checks if given element is skipped.
        Specified by:
        isSkippedElement in interface BaseEmfUml2Helper
        Parameters:
        element -
      • getElementName

        @OpenApi
        public static java.lang.String getElementName​(Element mdElement,
                                                      boolean qualifiedName)
        Returns element human name.
        Parameters:
        mdElement -
        qualifiedName -
        Returns:
        element type + [qualified] name