Class Emf2MofUml2MetaclassMap
- java.lang.Object
-
- com.nomagic.magicdraw.emfuml2xmi.v2.imp0rt.convert.Emf2MofUml2MetaclassMap
-
@OpenApi public class Emf2MofUml2MetaclassMap extends java.lang.Object
Eclipse (EMF) UML2 model metaclass --> MagicDraw 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
Emf2MofUml2MetaclassMap()
-
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()
static java.lang.String
get(java.lang.String eClassName)
Returns corresponding MagicDraw UML model metaclass.static java.util.Map
getMap()
static void
put(java.lang.String eClassName, java.lang.String mdClassName)
Maps Eclipse UML2 model metaclass to MagicDraw UML model metaclass.static void
remove(java.lang.String eClassName)
Removes mapping between Eclipse UML2 model metaclass and MagicDraw 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 eClassName)
Returns corresponding MagicDraw UML model metaclass.- Parameters:
eClassName
- Eclipse UML2 metaclass name- Returns:
- MagicDraw UML metaclass name
-
getMap
public static java.util.Map getMap()
-
put
@OpenApi public static void put(java.lang.String eClassName, java.lang.String mdClassName)
Maps Eclipse UML2 model metaclass to MagicDraw UML model metaclass.- Parameters:
eClassName
- Eclipse UML2 model metaclass namemdClassName
- MagicDraw UML2 model metaclass name
-
remove
@OpenApi public static void remove(java.lang.String eClassName)
Removes mapping between Eclipse UML2 model metaclass and MagicDraw UML2 model metaclass.- Parameters:
eClassName
- MagicDraw UML2 model metaclass name
-
-