Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [TEXO] creating a Map attribute
[TEXO] creating a Map attribute [message #1746527] Mon, 31 October 2016 17:01 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 235
Registered: July 2009
Senior Member
Hi all,
I want to create the following construct:

    @CollectionTable(name="example_attributes", joinColumns=@JoinColumn(name="example_id"))
    Map<ContactType, Contact> attributes;

But I don't know how to model the "attributes" map in ecore file. I didn't found an example for it. Any hints are welcome.

Re: [TEXO] creating a Map attribute [message #1746849 is a reply to message #1746527] Sun, 06 November 2016 12:50 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ralf,
Here is a link, let me know if you have more questions:

gr. Martin
Previous Topic:Property "Unique" for ecore attribute doesn't work
Next Topic:[Texo] @JoinTable generation for one-to-many
Goto Forum:

Current Time: Sat May 28 15:03:17 GMT 2022

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

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

Back to the top