Playing with objects, and getter setter methods, sql