[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tigerstripe-users] Read-only association ends



What is the semantics of “frozen”?


The set of end points is not really frozen, i.e. invariant. It simply cannot be set directly, only changed internally as a result of another operation.


Best regards




From: tigerstripe-users-bounces@xxxxxxxxxxx [mailto:tigerstripe-users-bounces@xxxxxxxxxxx] On Behalf Of Navid Mehregani
Sent: Tuesday, February 08, 2011 16:37
To: Tigerstripe Users list
Cc: OpenOSS discussion
Subject: Re: [tigerstripe-users] Read-only association ends


Hi Marc,

Have you considered setting the 'Changeable' attribute of an association end to 'frozen'?

- Navid

On Tue, Feb 8, 2011 at 4:39 AM, Flauw, Marc <Marc.Flauw@xxxxxx> wrote:



In RSM I have some navigable associations, where the navigable role is marked as readonly.

However, when I import in Tigerstripe, there is no such property on the aend/zend of an association.

This end will show up as an attribute in the corresponding class and having it readonly is important for the generators.


So how do I do to indicate that a given association end is readonly?


Thanks and regards,



tigerstripe-users mailing list