X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=attrib-class.lisp;h=215089f03a0e3d3e868334005ec794294dfd98a2;hb=0e5343fda28c559f11e003805727f4c625d178f3;hp=4d88e66addc17ae0f1dbe6367c359fcce0049767;hpb=5e5cc3c20a925d8af5de153a118fdaf0792dd7e2;p=kmrcl.git diff --git a/attrib-class.lisp b/attrib-class.lisp index 4d88e66..215089f 100644 --- a/attrib-class.lisp +++ b/attrib-class.lisp @@ -7,18 +7,18 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: attrib-class.lisp,v 1.1 2002/10/06 13:21:47 kevin Exp $ +;;;; $Id: attrib-class.lisp,v 1.2 2002/10/06 13:30:17 kevin Exp $ ;;;; -;;;; This file, part of Genutils, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of Kmrcl, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; -;;;; Genutils users are granted the rights to distribute and use this software +;;;; Kmrcl users are granted the rights to distribute and use this software ;;;; as governed by the terms of the GNU General Public License. ;;;; ************************************************************************* ;;;; Defines a metaclass that allows the use of attributes (or subslots) ;;;; on slots. Based on example in AMOP, but modified to use ACL's MOP. -(in-package :genutils) +(in-package :kmrcl) (defclass attributes-dsd (mop::standard-direct-slot-definition) ((attributes :initarg :attributes :initform nil @@ -98,12 +98,12 @@ #|| -(in-package :genutils) +(in-package :kmrcl) (defclass credit-rating () ((level :attributes (date-set time-set)) (id :attributes (person-setting))) - (:metaclass genutils:attributes-class)) + (:metaclass kmrcl:attributes-class)) (defparameter cr (make-instance 'credit-rating)) (format t "~&date-set: ~a" (gu:slot-attribute cr 'level 'date-set))