uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

W033 Missing Superclass

Umple semantic warning issued when a referenced superclass is not found

When 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;

Example

// This example generates the warning since T is not defined
class S {
  isA T;
}


      

Load the above code into UmpleOnline

 

Another Example

// 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