T for persistent slots, NIL for transient slots. Default value is T.
An index spec designator for indexed slots, NIL for non-indexed slots. Default value is NIL.
Only relevant for indexed slots. Can be either NIL (slot values are not unique), T (slot values are unique, and an error will be signaled for attempts to add a duplicate slot value) or :NO-ERROR (slot values are unique, but no error will be signaled for attempts to add a duplicate slot value). :NO-ERROR should only be used when speed is critical. The default value is NIL.
(defclass persistent-slot-mixin ()
((persistence :initarg :persistence
:initform t
:reader slot-persistence
:documentation "T for persistent slots, NIL for
transient slots. Default value is T.")
(index :initarg :index
:initform nil
:reader slot-index
:documentation "An index spec designator for indexed slots,
NIL for non-indexed slots. Default value is NIL.")
(unique :initarg :unique
:initform nil
:reader slot-unique
:documentation "Only relevant for indexed slots. Can be
either NIL (slot values are not unique), T (slot values are unique,
and an error will be signaled for attempts to add a duplicate slot
value) or :NO-ERROR (slot values are unique, but no error will be
signaled for attempts to add a duplicate slot value). :NO-ERROR
should only be used when speed is critical.
The default value is NIL.")))
Source Context