|
E091 Attribute Of Type Not Found Constraint
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E091 Attribute Of Type Not Found ConstraintUmple semantic error raised when a class does not contain the required attribute of a given typeModel constraints can be applied to Umple classes to ensure they respect certain properties, as defined in their constraints. This error is raised if a class does not contain an attribute of a specified type in the constraint. Example
//The error is raised, A does
//not contain an attribute of
//type B
class A {
[model: A has attribute of B]
}
class B {
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//A now contains an
//attribute of type B
class A {
B attr;
[model: A has attribute of B]
}
class B {
}
Load the above code into UmpleOnline |