E004 Invalid Multiplicity
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E004 Invalid MultiplicityUmple syntactic error reported when an invalid multiplicity is specifiedValid multiplicities in Umple include the following, where n and m are positive integers and where n <= m:
When this error message appears, the multiplicity doesn't fit any of the above patterns. A common error, for example, is to use the notation 'n' as found in Entity-Relationship Diagrams, instead of *. This is not valid in Umple; only integers, and * may appear. Example// This example generates the error message class X { 1 -- 0..1..2 Y; } class Y { } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears// The following shows how to avoid the error class X { 1 -- 0..2 Y; } class Y { } Load the above code into UmpleOnline |