"Dowd, Brian" wrote: > > HI All, > Apologies if this is a simple question (did look in archives and help > etc). > > How do I go about getting my model (class diagram) to automatically generate > public get() and set() methods for each of my private/protected member > attributes ? > > I'm presuming there is a way to do this ?
You do this by declaring class attributes to be JavaBean-like. Set the default Rose "Tools:Options:Java:Attributes:Property" to "Simple". > > Also, how can I insert a default header into the generated java code ? i.e. > I want all > of my classes to have our copyright header. As above, you can specify default javadoc Author, Version, and Since tags in the "Tools:Options:Java:Project" screen. Anything else is probably doable via script. > > I'm using rational rose 2002.05.00 on Win NT 4 > > Any help appreciated. > Brian. ************************************************************************ * 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 *************************************************************************
