Are getters and setters bad for domain object model?

I was extending from Tom’s example. If you have a getter that will send back any property’s current value, and you don’t create a setter for one of the properties, you perforce have created a read only property.

1 Like

No.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.