File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes Accessing inherited attributes in TogetherJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Accessing inherited attributes in TogetherJ" Watch "Accessing inherited attributes in TogetherJ" New topic
Author

Accessing inherited attributes in TogetherJ

John Wooten
Greenhorn

Joined: Mar 05, 1999
Posts: 4
I have located an excellent UML tool called TogetherJ. A limited version is available for free download (do search for latest location). The full version can export to Rational Rose and it surpasses RR in its smoothness, ease of use, and round-trip development. However, I haven't found a good way to represent relationships between classes where I want to use an inherited attribute as the relationship. i.e. Person inherits from Associate which inherits from BaseObject. BaseObject has an attribute BaseObject location. Location is another class and Address inherits from it. I want to show Person has Address and associate the Address Class with the location attribute which it inherited. The current version doesn't have this ( next version ). Any ideas on a way to show it?
John W.
------------------
Member WWISA


Member WWISA
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I do not know of any tool that provides formal support for analogies (i.e. relationships between relations), which is what I think you are talking about here. The UML notation for this is a dotted line with an arrowhead going from the more specific relationship (in you example, the relationship between Person and Address) to the more general relationship (in your example between BaseObject and Location). Of course, in order to do this you cannot show location just as an attribute of BaseObject - you must make the relationship to Location explicit.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing inherited attributes in TogetherJ
 
Similar Threads
how to put a text title on diagrams in ThgetherJ
newbie question: ref or complex type ?
Printing object location Not contents
How to add a text title in the diagrams in TogetherJ
Object Modeling Tools