You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jon.Ridgway" <Jo...@upco.co.uk> on 2002/01/31 18:00:29 UTC
RE: [Off Topic] get/set method generation
Hi,
XDoclet may help. It does a lot more but..
Jon.
-----Original Message-----
From: João Paulo G. Batistella [mailto:jpaulo@cit.com.br]
Sent: 31 January 2002 17:57
To: Struts Users Mailing List
Subject: [Off Topic] get/set method generation
Anyboy knows a tool for generating get/set methods from a list of
attributes??
An example:
I have
private String name;
private int number;
And I would like to generate:
public String getName();
public void setName( String name ) ;
public int getNumber();
public void setNumber( number );
Thanks
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [Off Topic] get/set method generation
Posted by Dustin Aleksiuk <du...@transcanada.com>.
I almost finshed one yesterday, and I'll probably have it done tomorrow. I've
been working on in the little snippets of free time I get during the day. I
wrote it because I use the light version of JCreator to write code, and it
doesn't do getters and setters, and that's the only thing I miss.
Anyway, I can send it to you if you want.
Dustin
"Jon.Ridgway" wrote:
> Hi,
>
> XDoclet may help. It does a lot more but..
>
> Jon.
>
> -----Original Message-----
> From: João Paulo G. Batistella [mailto:jpaulo@cit.com.br]
> Sent: 31 January 2002 17:57
> To: Struts Users Mailing List
> Subject: [Off Topic] get/set method generation
>
> Anyboy knows a tool for generating get/set methods from a list of
> attributes??
>
> An example:
> I have
>
> private String name;
> private int number;
>
> And I would like to generate:
> public String getName();
> public void setName( String name ) ;
>
> public int getNumber();
> public void setNumber( number );
>
> Thanks
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Dustin Aleksiuk
Tools and Practices Team
TransCanada Tower - 2564A
403-920-5744
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>