|
Re: Texo Relation as map [message #1111853 is a reply to message #1111564] |
Wed, 18 September 2013 20:44 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Michel,
0to* containment is modeled as a list. I attached some examples of modeling emaps in EMF, see the xsd/ecore.
gr. Martin
On 09/18/2013 07:12 PM, Michel H wrote:
> Hi
>
> I have a problem with EMF and Texo.
>
> The Situation is:
> I have 2 Classes: Class A and Class B.
> Class A contains 0 to * Objects of Class B.
>
> Alright till now.
>
> Now I have generated with Texo the Model Code.
> The relation between Class A and Class B is realised as a List.
>
> This is my Problem, i don't need a List.
> I need a Map and not a List
>
> Is there a way, to realise the relation as Map<key, value> ?
>
> Best regards
> Michel
--
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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
-
Attachment: emap.xsd
(Size: 1.48KB, Downloaded 211 times) -
Attachment: emap.ecore
(Size: 6.87KB, Downloaded 198 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03340 seconds