I am using c#. When doing reverse engineering, it seems like EA only reverse the basic association relationships. for one-to-many , I need to modify the line manually. And for bi-direction, it creat 2 association lines in class diagram. Can it be a little smarter?
I think it is because the collection is not strong typed. For .Net 2.0, and Java1.5, there is Generic Collection. What is EA's plan to adapt them? Do I have to modify templates and "Automatic interface" to make it work. It shall be a build in feature.
What I hope is with Aggregation or Composition relationship drawed in diagrams, and specify "List<>" as the collection class(or specify "object array", or "IDictionary<>" for qualified collection ), code generation will provide code like:
class Parent{
public List<Child> Children;
}
For reverse engineering, EA found above code would automatically put composition relationship with 0..* on the diagram.
Have your development teams include this in your next release plan? This will cause EA, which I like very much already, stands a lot of higher than other Case tool.
But for now, what I need is the reverse engineering automatically take the field's name as reference and find the class (in the same namespace) as the collection's item class, then when draw diagrams, automatically link the classes with Aggregation or composition. Can I use "Automation Interface" to define some "Reverse Engineering" rules? I am totally newbie in Add-ins area. If it's not for "Reverse" , please let me know.
Another suggestion for code generation, currently, it put unnecessary "import" or "using" for relationship between 2 classes in the same namesapce or package. Can you take them out? I think it's an easy fix.
Thanks