This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Object Modeling Tools
How to add a text title in the diagrams in TogetherJ
newbie question: ref or complex type ?
how to put a text title on diagrams in ThgetherJ
Printing object location Not contents