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 Problem generating static inner class attributes in Rose 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 "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


<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem generating static inner class attributes in Rose
 
Similar Threads
Inner classes
JNI: How to introspect an inner class
Inner Class
Accessibility of private methods in inner classes
40% for Devakas Final Exam