uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

E018 Reflexive Immutable

Umple semantic error reported when an immutable reflexive association is declared as having 1 at the other end

This is a special case of the general rule that reflexive associations must have upper bounds greater than zero.

Example

// The following example generates the error message
class X {
    immutable;
    0..1 -> 1 X;
}

      

Load the above code into UmpleOnline