org.eclipse.xtext.generator
Class GenModelAccess
java.lang.Object
org.eclipse.xtext.generator.GenModelAccess
public class GenModelAccess
- extends java.lang.Object
- Since:
- 2.0
- Author:
- Moritz Eysholdt - Initial contribution and API
Method Summary |
static org.eclipse.emf.codegen.ecore.genmodel.GenClass |
getGenClass(org.eclipse.emf.ecore.EClass cls,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.codegen.ecore.genmodel.GenClassifier |
getGenClassifier(org.eclipse.emf.ecore.EClassifier cls,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.codegen.ecore.genmodel.GenDataType |
getGenDataType(org.eclipse.emf.ecore.EDataType dt,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.codegen.ecore.genmodel.GenEnum |
getGenEnum(org.eclipse.emf.ecore.EEnum en,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.codegen.ecore.genmodel.GenFeature |
getGenFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getGenIntLiteral(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getGenIntLiteral(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.ecore.resource.Resource |
getGenModelResource(java.lang.String locationInfo,
java.lang.String nsURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static org.eclipse.emf.codegen.ecore.genmodel.GenPackage |
getGenPackage(org.eclipse.emf.ecore.EPackage pkg,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getGenTypeLiteral(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getGenTypeLiteral(org.eclipse.emf.ecore.EPackage pkg,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getGenTypeLiteral(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
static java.lang.String |
getJavaTypeName(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenModelAccess
public GenModelAccess()
getGenClass
public static org.eclipse.emf.codegen.ecore.genmodel.GenClass getGenClass(org.eclipse.emf.ecore.EClass cls,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenClassifier
public static org.eclipse.emf.codegen.ecore.genmodel.GenClassifier getGenClassifier(org.eclipse.emf.ecore.EClassifier cls,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenDataType
public static org.eclipse.emf.codegen.ecore.genmodel.GenDataType getGenDataType(org.eclipse.emf.ecore.EDataType dt,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenEnum
public static org.eclipse.emf.codegen.ecore.genmodel.GenEnum getGenEnum(org.eclipse.emf.ecore.EEnum en,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenFeature
public static org.eclipse.emf.codegen.ecore.genmodel.GenFeature getGenFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenIntLiteral
public static java.lang.String getGenIntLiteral(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenIntLiteral
public static java.lang.String getGenIntLiteral(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenPackage
public static org.eclipse.emf.codegen.ecore.genmodel.GenPackage getGenPackage(org.eclipse.emf.ecore.EPackage pkg,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenModelResource
public static org.eclipse.emf.ecore.resource.Resource getGenModelResource(java.lang.String locationInfo,
java.lang.String nsURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
- Since:
- 2.1
getGenTypeLiteral
public static java.lang.String getGenTypeLiteral(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenTypeLiteral
public static java.lang.String getGenTypeLiteral(org.eclipse.emf.ecore.EPackage pkg,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getGenTypeLiteral
public static java.lang.String getGenTypeLiteral(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
getJavaTypeName
public static java.lang.String getJavaTypeName(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
- Since:
- 2.1