org.eclipse.emf.ecore.xcore.mappings
Class XcoreMapper
java.lang.Object
org.eclipse.emf.ecore.xcore.mappings.XcoreMapper
public class XcoreMapper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XcoreMapper
public XcoreMapper()
getXDataType
public XDataType getXDataType(EObject eObject)
getXEnum
public XEnum getXEnum(EObject eObject)
getXEnumLiteral
public XEnumLiteral getXEnumLiteral(EObject eObject)
getXClass
public XClass getXClass(EObject eObject)
getXOperation
public XOperation getXOperation(EObject eObject)
getXParameter
public XParameter getXParameter(EObject eObject)
getXTypeParameter
public XTypeParameter getXTypeParameter(EObject eObject)
getXFeature
public XStructuralFeature getXFeature(EObject eObject)
getMapping
public XPackageMapping getMapping(XPackage xPackage)
unsetMapping
public void unsetMapping(XPackage xPackage)
getMapping
public XClassMapping getMapping(XClass xClass)
getMapping
public XTypeParameterMapping getMapping(XTypeParameter xTypeParameter)
getMapping
public XFeatureMapping getMapping(XStructuralFeature xStructuralFeature)
getMapping
public XOperationMapping getMapping(XOperation xOperation)
getMapping
public XParameterMapping getMapping(XParameter xParameter)
getMapping
public XDataTypeMapping getMapping(XDataType xDataType)
getMapping
public XEnumLiteralMapping getMapping(XEnumLiteral xEnumLiteral)
getToXcoreMapping
public ToXcoreMapping getToXcoreMapping(EObject eObject)
getEcore
public ENamedElement getEcore(XNamedElement xNamedElement)
getGen
public GenBase getGen(XNamedElement xNamedElement)
lazyCreateMapping
protected <T extends Adapter> T lazyCreateMapping(EObject eObject,
java.lang.Class<T> mapperType)
getXcoreElement
public EObject getXcoreElement(EObject eObject)