public class ECoreGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMMON_PACKAGE_NAME |
static ECoreGenerator |
INSTANCE |
Constructor and Description |
---|
ECoreGenerator() |
Modifier and Type | Method and Description |
---|---|
Set<org.eclipse.emf.ecore.EPackage> |
generatePackages(EdiDirectory ediDirectory)
This method will convert information available in
EdiDirectory
into the set of EPackage packages. |
org.eclipse.emf.ecore.EPackage |
generateSinglePackage(Edimap mappingModel)
Generate a single
EPackage . |
public static final ECoreGenerator INSTANCE
public static final String COMMON_PACKAGE_NAME
public Set<org.eclipse.emf.ecore.EPackage> generatePackages(EdiDirectory ediDirectory)
EdiDirectory
into the set of EPackage
packages.
Set will contain one package with common definitions and one package per
each Edimap
that is using common classesediDirectory
- The EdiDirectory.Copyright © 2020. All rights reserved.