It depends which language are you working with (C++ or Java).

To generate Java get/set methods, select the "Java" tab in the "Class
Attribute Specification" and change the "PropertyType" setting to
"Simple". To generate get/set methods for ALL project attributes, select
the "Type" to be "Attribute" in the "Tools:Model Properties:Edit:Java"
dialog and change "PropertyType" setting to "Simple".

In both cases, the method names will be of the form getATTRIBUTENAME and
setATTRIBUTENAME.

-- 
Richard Chrenko

Shailesh Joshi wrote:
> 
> Hi,
> Is there any way by which i can add attribute in class
> diagram and generate Get/Set Methods for that
> attribute automatically? If yes, how? and will it
> consider prefix char while generating this methods?
> 
> Thanks,
> Shailesh
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to