On 10/01/2012 08:40, Diego Bosc? wrote: > Oh, this is the first time I have heard that functions can be > constrained. However, AOM specifications say otherwise: > "C_attribute: a node representing a constraint on an attribute > (i.e. UML ?relationship? or > ?primitive attribute?) in an object type;" (AOM specifications, page 12) > This excludes clearly the 'stored properties'. > >
That wording in the current release does exclude non-attributes. But I think it should be possible to state constraints on computed attributes (public functions with no parameters). It has already been implemented and is not difficult. - thomas

