sonar cleanup: according to principle of Litzkow it is better to access propertiers through accessors (reverted from commit 1aa6d234fc6329e29e211c31991fe6a2121d115f)