E105 Enumeration in Composition
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E105 Enumeration in CompositionUmple semantic error reported when an enumeration is used in a composition.In Umple, enumerations cannot be used in compositions. Example// This example generates the error class X { enum Y { Red, Blue, Green } 0..1 <@>- * Y; } class Y { name; } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears// This example does not generate the error class X { enum Y { Red, Blue, Green } 0..1 <@>- * Z; } class Z { name; } Load the above code into UmpleOnline |