Class Mof2EmfUml2MetaclassMap


  • @OpenApi
    public class Mof2EmfUml2MetaclassMap
    extends java.lang.Object
    MagicDraw UML2 model metaclass --> Eclipse (EMF) UML2 model metaclass
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.lang.String> mMap  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.util.Map<java.lang.String,​java.lang.String> _getMap()  
      private static void _put​(java.lang.Class mdClassType, org.eclipse.emf_2_2_3.ecore.EClass eClass)  
      static java.lang.String get​(java.lang.String mdUml2Metaclass)
      Returns corresponding Eclipse UML2 model metaclass.
      static java.util.Map getMap()  
      static void put​(java.lang.String mdClassName, java.lang.String eClassName)
      Maps MagicDraw UML2 model metaclass to Eclipse UML2 model metaclass.
      static void remove​(java.lang.String mdClassName)
      Removes mapping between MagicDraw UML2 model metaclass and Eclipse UML2 model metaclass.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mMap

        private static java.util.Map<java.lang.String,​java.lang.String> mMap
    • Constructor Detail

      • Mof2EmfUml2MetaclassMap

        private Mof2EmfUml2MetaclassMap()
    • Method Detail

      • _getMap

        private static java.util.Map<java.lang.String,​java.lang.String> _getMap()
      • get

        @CheckForNull
        @OpenApi
        public static java.lang.String get​(java.lang.String mdUml2Metaclass)
        Returns corresponding Eclipse UML2 model metaclass.
        Parameters:
        mdUml2Metaclass - metaclass.
        Returns:
        Eclipse UML2 metaclass name
      • getMap

        public static java.util.Map getMap()
      • _put

        private static void _put​(java.lang.Class mdClassType,
                                 org.eclipse.emf_2_2_3.ecore.EClass eClass)
      • put

        @OpenApi
        public static void put​(java.lang.String mdClassName,
                               java.lang.String eClassName)
        Maps MagicDraw UML2 model metaclass to Eclipse UML2 model metaclass.
        Parameters:
        mdClassName - MagicDraw UML2 model metaclass name
        eClassName - Eclipse UML2 model metaclass name
      • remove

        @OpenApi
        public static void remove​(java.lang.String mdClassName)
        Removes mapping between MagicDraw UML2 model metaclass and Eclipse UML2 model metaclass.
        Parameters:
        mdClassName - MagicDraw UML2 model metaclass name