In Enterprise Architect I modified an interface, how to update the realizing classes?
Posted
by
Timo
on Super User
See other posts from Super User
or by Timo
Published on 2010-11-29T14:49:30Z
Indexed on
2012/04/08
23:34 UTC
Read the original article
Hit count: 313
I've created an interface in a class model. This interface has two methods, A and B and method A takes an argument (a) and method B does not take an argument (yet). Additionally I've created a class that implements this interface, overriding both methods.
After a discussing the model method B now should also take a parameter (b), so I modified the interface to reflect this change. However the class realizing this interface is not updated automatically. For one class it's possible to add the method by re-creating the link between the interface, specify the which method should be implemented and deleting this link again. Then the OLD method signature has to be removed as well. This is a lot of work if there is more then one class implementing the modified interface, not to mention error-prone.
Does anybody know how to make an entire class model update this type of dependency?
© Super User or respective owner