I have a property called isActive in my pojo class. When I generated the accessors for this property using Eclipse IDE, it generates following getters and setters
Getter : isActive() Setter : setActive()
can I define setter method to return this rather than void? Like:
ClassA setItem1() { return this; } ClassA setItem2() { return this; }