You want to implement getters
The problem
The solution
Putting it all together
Parent topic:
Coding service-layer implementations