diff base/database/classes.lisp @ 287:00d35eb70ef9

amuse-database-admin add implementation and dataset functionality Ignore-this: 787cc01acf2d6a58640fec017de16c17 darcs-hash:20090716145807-16a00-6fe5ad4a2b6252b2c1f3d109a16455bb32243965.gz
author j.forth <j.forth@gold.ac.uk>
date Thu, 16 Jul 2009 15:58:07 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base/database/classes.lisp	Thu Jul 16 15:58:07 2009 +0100
@@ -0,0 +1,18 @@
+(cl:in-package #:amuse-database-admin)
+
+(defclass amuse-dataset-identifier (identifier)
+  ((dataset-id :reader dataset-id
+	       :initarg :dataset-id))
+  (:documentation "A dataset is a set of pieces used for a particualar
+analytical task. A dataset is not necessarily the same thing as a
+corpus or collection (are these things different?). Corpus indicates
+that a set of pieces have been curated in some way and in that sense
+`belong together'. A dataset is just simply a set of pieces gathered
+together to analyse, and the pieces can be from any corpus or
+backend (hence the amuse- prefix"))
+
+(defclass amuse-dataset (list-slot-sequence)
+  ((identifier :initarg :identifier
+	       :reader identifier)
+   (description :initarg :description
+		:reader description)))