Last change
on this file was
328,
checked in by lgiessmann, 14 years ago
|
fixed ticket #75 --> changed license terms from LGPL to LLGPL in the trunk tree
|
File size:
1.2 KB
|
Line | |
---|
1 | ;;+----------------------------------------------------------------------------- |
---|
2 | ;;+ Isidorus |
---|
3 | ;;+ (c) 2008-2010 Marc Kuester, Christoph Ludwig, Lukas Georgieff |
---|
4 | ;;+ |
---|
5 | ;;+ Isidorus is freely distributable under the LLGPL license. |
---|
6 | ;;+ You can find a detailed description in trunk/docs/LLGPL-LICENSE.txt and |
---|
7 | ;;+ trunk/docs/LGPL-LICENSE.txt. |
---|
8 | ;;+----------------------------------------------------------------------------- |
---|
9 | |
---|
10 | (asdf:operate 'asdf:load-op 'elephant) |
---|
11 | (elephant:open-store '(:BDB "data_base")) |
---|
12 | (defpclass Relation() |
---|
13 | ((to-a :associate NodeA |
---|
14 | :accessor to-a |
---|
15 | :initarg :to-a) |
---|
16 | (to-b :associate NodeB |
---|
17 | :accessor to-b |
---|
18 | :initarg :to-b) |
---|
19 | (version :initarg :version |
---|
20 | :accessor version |
---|
21 | :type integer |
---|
22 | :index t)) |
---|
23 | (:index t)) |
---|
24 | (defpclass NodeA() |
---|
25 | ((relation-to-b :associate (Relation to-a) |
---|
26 | :accessor relation-to-b |
---|
27 | :initarg :relation-to-b)) |
---|
28 | (:index t)) |
---|
29 | (defpclass NodeB() |
---|
30 | ((relation-to-a :associate (Relation to-b) |
---|
31 | :accessor relation-to-a |
---|
32 | :initarg :relation-to-a)) |
---|
33 | (:index t)) |
---|
34 | (defvar *rel* (make-instance 'Relation |
---|
35 | :to-a (make-instance 'NodeA) |
---|
36 | :to-b (make-instance 'NodeB) |
---|
37 | :version 1)) |
---|
Note: See
TracBrowser
for help on using the repository browser.