encapsulating properties of this bean (changing the visibility of the
properties from public to private)