Thanks for reporting, I have created:
http://fornax.itemis.de/jira/browse/CSC-387

Alternatively, a collection reference defined as required and !changeable
should actually be included in constructor and elements from parameter are
added to internal collection, i.e. collection instance not replaced.

/Patrik


polly.c.chang wrote:
> 
> ah, ok, so in Sculptor, a collection Reference cannot be used with
> "required".  It can only be used with "!changeable".  Perhaps you can add
> validation or documentation to clarify this for others.  Just a
> suggestion.
> 
> Thanks for the explanation!
> 
> --Polly
> 
> 
> Patrik Nordwall wrote:
>> 
>> The reason for excluding collection references is that collections are
>> managed by Hibernate and you are not allowed to replace the collection
>> instance. For the same reason there is no 'set' method for collection
>> references. Use 'add' method to modify the collection content.
>> 
>> /Patrik
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Sculptor--%22required%22-and-collection-references-tp24432505s17564p24544752.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to