list of dots University of Ottawa logo / Université d'Ottawa

User Manual    [Previous]   [Next]   

E026 Duplicate Key Item

Umple semantic error reported when a key has a duplicate item

If an item (attribute, association, state machine) appears twice in a key, it is an error, since Umple cannot tell the preferred order of items.


// The following example has error 26
// since the key has 'a' twice
class X26dupiteminkey {
  key {a, b, a} 

Load the above code into UmpleOnline