Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] How do you join across models?
[Teneo] How do you join across models? [message #431702] Wed, 22 July 2009 10:50 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

I have 2 projects each with their own model. Because the first project
is a security system it can be used independently of the 2nd project.
But the optional second project needs a join to a table in the first
project, a "User" entity. How do you manage these type of interactions?
Is there a way of referring to the "User" entity from the security model
in the XSD with annotations for the second model?

thx.

David
Re: [Teneo] How do you join across models? [message #431704 is a reply to message #431702] Wed, 22 July 2009 11:11 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi David,
You mean to add the annotatons in the second model?
Yes that should be possible as long as you set the epackages together in the datastore (the setEPackages call).

gr. Martin

David Wynter wrote:
> Hi,
>
> I have 2 projects each with their own model. Because the first project
> is a security system it can be used independently of the 2nd project.
> But the optional second project needs a join to a table in the first
> project, a "User" entity. How do you manage these type of interactions?
> Is there a way of referring to the "User" entity from the security model
> in the XSD with annotations for the second model?
>
> thx.
>
> David


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[Net4j]HeartBeatProtocol can't be used
Next Topic:"getPackage() : EObject" returns for cross referenced model
Goto Forum:
  


Current Time: Thu Apr 25 05:24:17 GMT 2024

Powered by FUDForum. Page generated in 0.03030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top