You want to add getters and setters to your entity interface
The problem
The solution
Putting it all together
Parent topic:
Coding service-layer APIs