MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
julie.allinson
Post subject: void as a return type  PostPosted: Oct 21, 2011 - 09:53 AM



Joined: Oct 21, 2011
Posts: 1

I'm creating class diagrams in UML, and can't figure out how to add 'void' as a return type. Can anyone point me in the right direction?
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Oct 24, 2011 - 06:45 AM



Joined: Nov 11, 2010
Posts: 2193

julie.allinson ,

When you add a new operation to the class, by default the return type is void. You can verify it from menu UML2 > Generate Java. The generated java class for the uml diagram will have the return type as void for the operation.

Let us know if you any questions.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits