Bag is not fully implemented. Please add a change request in jira:
http://www.fornax-platform.org/tracker/browse/CSC

/Patrik


Ryan Gardner wrote:
> 
> In the template files (particularly the GenerationHelper.java) , I see  
> that I should be able to use List, Bag, Map, or Set - but it seems  
> that I can only set up things as either a List or a Set.
> 
> Is there something simple I'm missing?
> 
> This works:
> 
> Entity Foo {
>       - List<@Bar> bars <-> foo;
> }
> 
> and this works:
> 
> Entity Foo {
>       - Set<@Bar> bars <-> foo;
> }
> 
> But this turns red and wont compile:
> 
> Entity Foo {
>       - Bag<@Bar> bars <-> foo;
> }
> 
> I'm guessing I'm doing something woefully wrong - so if someone could  
> please point that out, I would appreciate it.
> 
> Ryan
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-a-bag-for-a-collection-in-Sculptor---looks-like-it-should-work%2C-but-it-gives-me-an-error-tp19002264s17564p19003137.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to