| 
      
        
         E090 Attribute Name Not Found Constraint 
          
          
          
          
          
          
          
           [Previous]   [Next]    
     | 
    ![]()  | 
      
                 User Manual [Previous]  [Next] E090 Attribute Name Not Found ConstraintUmple semantic error raised when a class does not contain an attribute of a given name specified in a constraint
Model 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 with a name specified in the constraint. Example
//Class A does not contain
//the appropriate attribute,
//the constraint causes the error
class A {
  [model: A has attribute named attr]
}
// @@@skipcompile
      
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//The class A now contains an
//attribute with the appropriate name
class A {
  attr;
  [model: A has attribute named attr]
}
      
Load the above code into UmpleOnline  |