Carlos Conti Messages: 26 Registered: January 2010
Junior Member
Hi there,
is there such a thing? I am not developing in EJB standard, but using POJO's as JavaBeans to hold data between user interface and backend database.
Is there any pluggin or tool I have not discovered yet that for every property you can define :
[datatype]
[propertyName]
and get it automatically generated for a class?
If only available in UML related code generators, I think it will get too complicated.
Thanks for your help.
On 5/5/2010 6:53 AM, Carlos Conti wrote:
> Hi there,
>
> is there such a thing? I am not developing in EJB standard, but using POJO's as JavaBeans to hold data between user interface and backend database.
>
> Is there any pluggin or tool I have not discovered yet that for every property you can define :
>
> [datatype]
> [propertyName]
>
> and get it automatically generated for a class?
I don't think there is a wizard like this. But you can
1) use a wizard to create a Java class
2) define class properties in the body of the class, as datatype propertyName;
3) have Eclipse generate class c'tors and getters/setters for all of the properties.