org.eclipse.xtend.util.uml2ecore
Class TypeMapper

java.lang.Object
  extended by org.eclipse.xtend.util.uml2ecore.TypeMapper

public class TypeMapper
extends java.lang.Object

Helper Class whose single operation is called from the mapTypeName extension in uml2ecore.ext


Constructor Summary
TypeMapper()
           
 
Method Summary
static java.lang.Object mapType(java.lang.String typeName)
          JAVA extension functions must be static methods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMapper

public TypeMapper()
Method Detail

mapType

public static java.lang.Object mapType(java.lang.String typeName)
JAVA extension functions must be static methods

Parameters:
typeName - the name of the UML primitive type to be mapped to Ecore
Returns:
the EDataType object to which the type is mapped