Class Mof2EmfUml2MetaclassMap
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.v2.export.convert.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
-
Constructor Summary
Constructors Modifier Constructor Description private
Mof2EmfUml2MetaclassMap()
-
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.
-
-
-
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 nameeClassName
- 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
-
-