added licensing info
authordrewc <drewc@tech.coop>
Mon, 27 Jun 2005 10:39:43 +0000 (03:39 -0700)
committerdrewc <drewc@tech.coop>
Mon, 27 Jun 2005 10:39:43 +0000 (03:39 -0700)
darcs-hash:20050627103943-39164-0cf25f0bc5ca1b00cddf0bf695809f86f5e02133.gz

src/meta-model.lisp
src/mewa/mewa.lisp

index a0c842a..58b3fd4 100644 (file)
     (when (equal (getf (cdr s) :home-key) slot)
       (let ((val (slot-value model (car s))))
       (return-from explode-foreign-key 
     (when (equal (getf (cdr s) :home-key) slot)
       (let ((val (slot-value model (car s))))
       (return-from explode-foreign-key 
-       (values (if val val (make-instance (getf (cdr s) :join-class))) (getf (cdr s) :foreign-key)))))))
+       (values (if val val (make-instance (getf (cdr s) :join-class))) 
+               (getf (cdr s) :foreign-key)))))))
 
 (defun find-join-helper (foreign-key)
   (lambda (class slot) 
 
 (defun find-join-helper (foreign-key)
   (lambda (class slot) 
index 782e19f..01b3577 100644 (file)
@@ -1,3 +1,4 @@
+
 (in-package :mewa)
  
 (defparameter *default-type* :ucw)
 (in-package :mewa)
  
 (defparameter *default-type* :ucw)
@@ -317,4 +318,12 @@ attributes is an alist keyed on the attribute nreeame."
   (unless (equal new old )
     (let ((self (ucw::parent slot)))
       (setf (modifiedp self) instance
   (unless (equal new old )
     (let ((self (ucw::parent slot)))
       (setf (modifiedp self) instance
-           (modifications self)  (append (list  (type-of new) (type-of old) (type-of value) slot instance )))))))
\ No newline at end of file
+           (modifications self)  (append (list  (type-of new) (type-of old) (type-of value) slot instance )))))))
+
+
+;; This software is Copyright (c) Drew Crampsie, 2004-2005.
+;; You are granted the rights to distribute
+;; and use this software as governed by the terms
+;; of the Lisp Lesser GNU Public License
+;; (http://opensource.franz.com/preamble.html),
+;; known as the LLGPL.