|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.ect.ecore.ECoreGenerator
public class ECoreGenerator
This class is responsible for generating ECore model based on the UN EDI Model
| Field Summary | |
|---|---|
static java.lang.String |
COMMON_PACKAGE_NAME
|
static ECoreGenerator |
INSTANCE
|
| Constructor Summary | |
|---|---|
ECoreGenerator()
|
|
| Method Summary | |
|---|---|
java.util.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ECoreGenerator INSTANCE
public static final java.lang.String COMMON_PACKAGE_NAME
| Constructor Detail |
|---|
public ECoreGenerator()
| Method Detail |
|---|
public java.util.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 classes
ediDirectory - The EdiDirectory.
public org.eclipse.emf.ecore.EPackage generateSinglePackage(Edimap mappingModel)
EPackage. This method assumes that given
Edimap model does not depend/import any other Edimap
model
mappingModel -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||