|
W301 Tracing Entity Not Found
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] W301 Tracing Entity Not FoundUmple 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. 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 |