uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

MultiValued Attributes

As in UML, you can have attribute with multiple values.

We encourage the use of association notation in this context, however the attribute notation can be useful sometimes.

Example

class Office {
   Integer number;
   Phone[] installedTelephones;
} 

class Phone {
  String digits;
  String callerID;
}


      

Load the above code into UmpleOnline

 

Syntax


complexAttribute- : [=unique]? [=lazy]? [=ivar]? [=modifier:immutable
    |settable
    |internal
    |defaulted
    |const
    |fixml]? [[typedName]] (= [**value])? ;