Class: PERSISTENT-DATA

Documentation

PERSISTENT-DATA classes do not have PERSISTENT-CLASS as metaclass because we don't want to specialize SLOT-VALUE-USING-CLASS & friends for persistent-data instances. Their contents are accessed by special functions like P-CAR instead.

Slots

  • OBJECT-ID
  • TRANSACTION-ID
  • RUCKSACK
  • CONTENTS

Hierachy

Precedence List

  • STANDARD-OBJECT

Sub Classes

Source

(defclass persistent-data ()
  ((object-id :initarg :object-id :reader object-id)
   (transaction-id :reader transaction-id)
   (rucksack :initarg :rucksack :initform (current-rucksack) :reader rucksack)
   (contents :initarg :contents :accessor contents))
  (:documentation
 "PERSISTENT-DATA classes do not have PERSISTENT-CLASS as metaclass
because we don't want to specialize SLOT-VALUE-USING-CLASS & friends
for persistent-data instances.  Their contents are accessed by special
functions like P-CAR instead."))
Source Context