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?