I’ve encountered the following problem in evaluation the SDE, in there anyone be kind enough to help me with it?
-
add an aggregation named hobbies from the Person class to the Hobby class as one to many in the class diagram
at this moment, only the added association is shown, no corresponding attribute -
update the code
the code is generated properly -
update the model without any code modification
an attribute named hobbies is shown
– It looks fine, BUT
-
delete the hobbies association in class diagram
! the hobbies attribute will not be removed!! -
update the code
nothing happens -
update the model immediately
!! Oooops, an fake attribute - attribute:Hobby appears in the class diagram!! -
update the code
An error shows “Duplicate association end ‘hobbies’ in class Person”
Thanks in advance