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(org.milyn.edisax.interchange.EdiDirectory ediDirectory)
This method will convert information available in
EdiDirectory
into the set of EPackage packages. |
org.eclipse.emf.ecore.EPackage |
generateSinglePackage(org.milyn.edisax.model.internal.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(org.milyn.edisax.interchange.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.public org.eclipse.emf.ecore.EPackage generateSinglePackage(org.milyn.edisax.model.internal.Edimap mappingModel)
EPackage. This method assumes that given
Edimap model does not depend/import any other Edimap
modelmappingModel - Copyright © 2016. All rights reserved.