An experiment on how to implement validation for simple domain objects