accessors
are enabled, CFML will track those properties in the variables
scope according to their name and create automatic getter and setter methods for those properties. (https://cfdocs.org/cfproperty)property
construct can also have different name-value pair attributes that can enhance its functionality. You can find all of them here: https://cfdocs.org/cfproperty. Below are the most common ones:type
- A valid CFML typedefault
- Default value when the object is created, else defaults to null
.setter
- Generate a setter method or not, defaults to truegetter
- Generate a getter method or not, defaults to true