Copy link to clipboard
Copied
I love CF10's auto generation of accessors, but in the event I wanted to create a Read-Only bean, I'm noticing that when I dump the getMetaData() on the object, that the setProperty() methods are set to Public Access.
Does this mean that in order to have Private Access setters I have to tell the component: setter="false" on each property and then manually create a setProperty() method?
I'd like to be able to just say: setName( 'value' ) in my code inside the CFC, but not have objectName.setName( 'value' ) accessible from other parts of the application.
Have something to add?