E
Elhanan
hi..
i have a few java beans which at first didn't have no-ops consturtctors
(as they were sopoused to be created by spring), but i need also to
create them by code, so i thought about using factories. for this i'll
need to have them no-op constuctors
however since a few of these properties are to be used in map hashcodes
and equels implementaitons, i had check in setters if they are allready
been set before, and if so throw an excption..
is this a good thing?
i have a few java beans which at first didn't have no-ops consturtctors
(as they were sopoused to be created by spring), but i need also to
create them by code, so i thought about using factories. for this i'll
need to have them no-op constuctors
however since a few of these properties are to be used in map hashcodes
and equels implementaitons, i had check in setters if they are allready
been set before, and if so throw an excption..
is this a good thing?