Defining mulitple persistency for EMF Model from one xsd [message #604237] |
Fri, 19 June 2009 00:13 |
Eclipse User |
|
|
|
Hi,
I have defined my metamodel in a xsd file. The metamodel is something like
following:
Company contains 1..n Employees.
Each employee has 1..n Responsibility.
I created a EMF model based on this. I generated code from this.
Now, the editor which gets generated
- Is for files of type extensions
- Allows me to Add Employees and Add Responsibility to Employee
Now, the complete info is stored in one file of extensios .company.
I want to store the information in two files.
-> .company
-> .employee
Is it possible ? OR
Do i need to have two xsd, one for metamodel of company and one for
metamodel of employee ?
Regards,
Ashwani Kr Sharma
|
|
|
Powered by
FUDForum. Page generated in 0.04592 seconds