The member variables are public and you have getters & setters. Please choose 1 or the other