aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Problem generating static inner class attributes in Rose Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Problem generating static inner class attributes in Rose" Watch "Problem generating static inner class attributes in Rose" New topic
Author

Problem generating static inner class attributes in Rose

Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I ran into a problem today with Rational Rose. I have a class ( called FileAdapter ) with several inner classes, one of which is static ( called FileAdapterDataFactory, extends Object ). This static inner class has a private static attribute ( called fileTable, a HashMap ). This static attribute of the static inner class looks okay in Rose ( its definition looks just like other static attributes of other classes that generate okay ). However, when I generate a Java file from Rose, the static modifier is not on this attribute...

Anyone else run into this problem?

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi Nathan,
I am sorry this is not a reply to your problem.
However, I am very curious to know about patterns used to identify inner classes (static/non-static).I have never received a reply for my posts on this issue.If you are aware, could you please let me know regarding the same.
Thank you,
Sandeep
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem generating static inner class attributes in Rose