uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

E180 Duplicate Association Name Class Hierarchy

Umple semantic error reported when a subclass has an association that is not a specialization named the same as a superclass association

A subclass can not have an association with the same role name as an association of its superclass, unless it is a valid specialization.

Example

class Person {
	* -> * Person friends;
}

class Student {
	isA Person;
	* -> * Dog friends;
}

class Dog {
}
      

Load the above code into UmpleOnline