list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

W301 Tracing Entity Not Found

Umple semantic warning issued when tracing a non-existent model entity

When tracing an entity in a class, a warning will be issued if the entity is not found and the trace directive will be ignored.
The name of the entity might be misspelled.

Example

//The trace directive causes the
//warning to be issued as the attribute
//id is not found
class A {
  Integer identifier;
  
  trace id;
}
// @@@skipphpcompile See issue 596 (PHP tracing causes issues)
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//The warning is resolved
//by correcting the name of the
//attribute to be traced
@SuppressWarnings("deprecation")
class A {
  Integer identifier;
  
  trace identifier;
}
// @@@skipphpcompile See issue 596 (PHP tracing causes issues)
      

Load the above code into UmpleOnline