google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Support for immutable associations #286

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently associations are immutable when they belong to immutable classes.
Provide a separate "immutable" keyword for associations so that they can be 
made individually immutable, regardless of whether their class is immutable.

Rules would be the same as they are for associations in immutable classes.
1. Only one-way associations may be immutable (->)
2. The class at the non-navigable end of the association must be an immutable 
type.

Original issue reported on code.google.com by perpetua...@gmail.com on 16 Mar 2012 at 9:00

GoogleCodeExporter commented 9 years ago
Mar 19: made core, major commit of testing, and changes to parser, model and 
grammar necessary to support immutable associations. Logic has been added to 
disallow reflexive mandatory associations from being immutable.

Original comment by perpetua...@gmail.com on 20 Mar 2012 at 1:09

GoogleCodeExporter commented 9 years ago
This feature has been implemented and tested in the Java, php, and ruby 
testbeds. It has yet to be tested in C++, since that depends to a great degree 
on completion of issue 241 in C++.

Original comment by perpetua...@gmail.com on 29 Mar 2012 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 14 Jun 2012 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 17 Sep 2013 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 13 Dec 2013 at 4:17