org.eclipse.xtend.typesystem.uml2
Class UML2MetaModelBase

java.lang.Object
  extended by org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel
      extended by org.eclipse.xtend.typesystem.uml2.UML2MetaModelBase
All Implemented Interfaces:
MetaModel
Direct Known Subclasses:
UML2MetaModel

public abstract class UML2MetaModelBase
extends EmfRegistryMetaModel


Constructor Summary
UML2MetaModelBase()
           
UML2MetaModelBase(org.eclipse.emf.ecore.EPackage metamodel)
           
 
Method Summary
 Type getTypeForEClassifier(org.eclipse.emf.ecore.EClassifier element)
           
 Type getTypeForName(java.lang.String typeName)
          if this metamodel is responsible for a type with the given name, it returns the corresponding type.
 void setTypeSystem(TypeSystem typeSystem)
          Sets the underlying typesystem.
 
Methods inherited from class org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel
addResourceSet, allPackages, getElementName, getEobjectType, getFqnRec, getFullyQualifiedName, getKnownTypes, getNamespaces, getType, getTypeForEClassifier, getTypeForETypedElement, getTypeSystem, setUseSingleGlobalResourceSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UML2MetaModelBase

public UML2MetaModelBase()

UML2MetaModelBase

public UML2MetaModelBase(org.eclipse.emf.ecore.EPackage metamodel)
Method Detail

getTypeForName

public Type getTypeForName(java.lang.String typeName)
Description copied from interface: MetaModel
if this metamodel is responsible for a type with the given name, it returns the corresponding type. Otherwise returns null

Specified by:
getTypeForName in interface MetaModel
Overrides:
getTypeForName in class EmfRegistryMetaModel
Parameters:
typeName - name of type
Returns:
the corresponding type

getTypeForEClassifier

public Type getTypeForEClassifier(org.eclipse.emf.ecore.EClassifier element)
Overrides:
getTypeForEClassifier in class EmfRegistryMetaModel

setTypeSystem

public void setTypeSystem(TypeSystem typeSystem)
Description copied from interface: MetaModel
Sets the underlying typesystem.

Specified by:
setTypeSystem in interface MetaModel
Overrides:
setTypeSystem in class EmfRegistryMetaModel
Parameters:
typeSystem - the typesystem