|
E104 Enumeration in Bi-directional Association
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E104 Enumeration in Bi-directional AssociationUmple semantic error reported when an enumeration is used in a bi-directional association.In Umple, enumerations cannot be used in bi-directional associations. Example
// This example generates the error
class X {
enum Y { Red, Blue, Green }
0..1 -- * Y;
}
class Y{ }
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 { }
Load the above code into UmpleOnline |