can I define setter method to return this rather than void?
Like:
ClassA setItem1() { return this; } ClassA setItem2() { return this; }
Just to add that for people using Spring 3.1+ this is not an issue anymore
see http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/new-in-3.1.html