Annotation Interface ReadOnly


@Retention(RUNTIME) @Target(FIELD) public @interface ReadOnly
Marks a field as read-only. The field can be filled at creation time, but it will be shown as disabled during edits, making it impossible to change its value after creation.