Gopi,

Do a Tools->Options and look under the Java tab.   Set the Type: to
Attribute and then set the value of the 'PropertyType' property to be
'Simple' and the value of the 'Read/Write' property to be 'Read & Write'.
This will ensure that any attribute that is created FROM THIS POINT ONWARDS
has the get and set attributes generated for it.  For attributes that
already exist in the model you can run the attached script to turn on the
PropertyType and Read/Write properties.

Regards

Vishu 
   

**********

Annamalai "Vishu" Viswanathan  --  [EMAIL PROTECTED]
Rose Technical Support Engineer

Rational Customer Service - Committed to Service Excellence
SCP Certified:  http://www.rational.com/support/scp.jsp

Rational User Conference 2002.....Freedom to Create!
Call for Papers Now Open at http://www.rational.com/ruc
August 18-22, 2002
Lake Buena Vista, Florida

**********

-----Original Message-----
From: S Raghavendra Prasad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 5:02 AM
To: Gopi Akula; [EMAIL PROTECTED]
Subject: Re: (ROSE) How can you generate get/set methods in rose


Gopi,

Yes you can do it by setting the property type to "Simple" in the 'java' tab
of the attribute specification.

Prasad

On Wednesday 03 April 2002 13:16, Gopi Akula wrote:
> Hi All,
> Is there a way in rose to generate the get/set methods for every
attribute.
> if yes how?
>
> Thanks.
> Gopi
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
>
> ************************************************************************
> * 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
> *************************************************************************
************************************************************************
* 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
*************************************************************************


Attachment: SetJavaAttGetSetNew.ebs
Description: Binary data

Reply via email to