W033 Missing Superclass
[Previous]  [Next] 
|
User Manual [Previous]  [Next] W033 Missing SuperclassUmple semantic warning issued when a referenced superclass is not foundWhen you declare a superclass of a class, that class must exist. If the class does not exist, then this warning is issued. It might be the case that the class is in fact declared in some code that is defined externally. In that case, the existence of the external class should be made known to Umple using the external keyword, such as in the second example. Example// This example generates the warning // since T is not defined class S { isA T; } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears// This example solves the problem // by defining T as an external class // Umple will not generate any code for T, // but now knows it exists class S { isA T; } external T {}; Load the above code into UmpleOnline |