# readOnly and writeOnce Configuration

Attributes can be configured to be `readOnly`, stopping them from being modified by the end user, or `writeOnce` allowing them to only be set by the end user, but only once. This example demonstrates how to setup attributes for your class as `readOnly` or `writeOnce` attributes, and shows how their behavior differs when the end user attempts to set their values.