Submitted by Tomek Kaczanowski on Sat, 01/09/2010 - 10:10.
Hi Anonymous,
that is a good question !
If more than one validation is required, then things get more complicated. But don't worry it can be done easily without getters/setters. :)
I'll show you soon how in a separate blog post.
--
cheers
Tomek
Reply
daily quotes
Programming is not a zero-sum game. Teaching something to a fellow programmer doesn't take it away from you. I'm happy to share what I can, because I'm in it for the love of programming.
In any case getters are not required
Hi Anonymous,
that is a good question !
If more than one validation is required, then things get more complicated. But don't worry it can be done easily without getters/setters. :)
I'll show you soon how in a separate blog post.
--
cheers
Tomek