facebook

Reverse and Forward Engineering through MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #264116 Reply

    ashishd2
    Member

    Hi,
    I am trying to do reverse and forward engineering through MyEclipse i.e. generating class diagrams through java code and vice-versa.
    When I provide inheritance relationship between the Classes, it is getting reflected in my java code but other relationships are not reflecting.
    Can somebody tell me if it requires any other setting?

    #264157 Reply

    Riyad Kalla
    Member

    Can you clarify what you mean by “other relationships”?

    #264188 Reply

    ashishd2
    Member

    I mean to say when I create a class diagram and provide the relationships i.e. inheritance, association and aggregation etc. between the classes and create the java code of the same, It generates proper java code i.e. particular class in being extends another one, references have been created for associations and composition.
    But when I select these class and again generate the class diagram, only inheritance is present between the classes(in the class diagram).
    Again for association and composition, I can see references created (as the member variable of another class) but in class diagram relationship (sign for aggregation and composition) is not shown.
    Is there any way to get it?

    #264199 Reply

    Riyad Kalla
    Member

    I see. At this time, when reverse engineering classes the relationship that is picked up is the inheritence of the classes. We don’t do full closure (associations) using all the members at this time but it’s on our TODO list.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Reverse and Forward Engineering through MyEclipse

You must be logged in to post in the forum log in