E048 Attribute Generates Duplicate Method
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E048 Attribute Generates Duplicate MethodUmple semantic error issued when an attribute generates a duplicate methodAn attribute may autogenerate multiple methods, which can lead to duplicates if the methods have already been generated. Changing the name of the attribute causing the duplicate can fix the error. Example//The error will be issued, attr //and Attr both generating setAttr //and getAttr causing a name conflict class A { attr; Attr; } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears//The following example is a //way to fix the error class A { attr; attr2; } Load the above code into UmpleOnline |