X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=attrib-class.lisp;h=05a0778492aa28061f71086fc58cdd6b5a621a5e;hb=1245205caa5937842d5d13ec805e15fe0d6a88c2;hp=215089f03a0e3d3e868334005ec794294dfd98a2;hpb=0e5343fda28c559f11e003805727f4c625d178f3;p=kmrcl.git diff --git a/attrib-class.lisp b/attrib-class.lisp index 215089f..05a0778 100644 --- a/attrib-class.lisp +++ b/attrib-class.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: attrib-class.lisp,v 1.2 2002/10/06 13:30:17 kevin Exp $ +;;;; $Id: attrib-class.lisp,v 1.3 2002/10/06 13:35:30 kevin Exp $ ;;;; ;;;; This file, part of Kmrcl, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -45,7 +45,7 @@ (declare (ignorable slot)) (apply #'make-instance 'attributes-esd - :attributes (remove-duplicates (gu:mapappend #'attributes dsds)) + :attributes (remove-duplicates (mapappend #'attributes dsds)) (excl::compute-effective-slot-definition-initargs cl dsds)) ) @@ -106,19 +106,19 @@ (:metaclass kmrcl:attributes-class)) (defparameter cr (make-instance 'credit-rating)) -(format t "~&date-set: ~a" (gu:slot-attribute cr 'level 'date-set)) -(setf (gu:slot-attribute cr 'level 'date-set) "12/15/1990") -(format t "~&date-set: ~a" (gu:slot-attribute cr 'level 'date-set)) +(format t "~&date-set: ~a" (slot-attribute cr 'level 'date-set)) +(setf (slot-attribute cr 'level 'date-set) "12/15/1990") +(format t "~&date-set: ~a" (slot-attribute cr 'level 'date-set)) (defclass monitored-credit-rating (credit-rating) ((level :attributes (last-checked interval date-set)) (cc :initarg :cc) (id :attributes (verified)) ) - (:metaclass gu:attributes-class)) + (:metaclass attributes-class)) (defparameter mcr (make-instance 'monitored-credit-rating)) -(setf (gu:slot-attribute mcr 'level 'date-set) "01/05/2002") -(format t "~&date-set for mcr: ~a" (gu:slot-attribute mcr 'level 'date-set)) +(setf (slot-attribute mcr 'level 'date-set) "01/05/2002") +(format t "~&date-set for mcr: ~a" (slot-attribute mcr 'level 'date-set)) ||#