Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How can I create a Map with Xcore?
How can I create a Map with Xcore? [message #1092803] Fri, 23 August 2013 08:03
Udo Walker is currently offline Udo WalkerFriend
Messages: 81
Registered: July 2009
Member
I want to create a datatype with supertype java.util.Map with Xcore.

I tried to wrap the Map with an internal type like

type InternalMap wraps Map<String,String>


In my class definition I tried:

class X {
   contains InternalMap myMap
}


I got following error message but I don't know what it means:

Quote:

The generic type associated with the 'InternalMap' classifier should have 2 type argument(s) to match the number of type parameter(s) of the classifier


But it does not work. How should I use it?
Previous Topic:[xcore] Maven plugin for code generation (src-gen)
Next Topic:How can I create a Map with Xcore?
Goto Forum:
  


Current Time: Thu Mar 28 17:07:30 GMT 2024

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

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

Back to the top