BUG-731: reduce field visibility

Sonar correctly reports these fields should be private. Let's add
accessors and hide them.

Change-Id: I97e4f6443d22a9b9ed90c3bdab8c3db251d5e4f3
Signed-off-by: Robert Varga <rovarga@cisco.com>