view base/database/classes.lisp @ 309:7038c3dc0a5a

Add some generic functions for querying the database in amuse-database-admin. Ignore-this: d2516f9e731f2e7a079d8a094c70e927 How much general functionality should there be here? The basic idea is a generalisation of mtp-admin, but there is a lot still to do. darcs-hash:20100223150341-16a00-46cb41323450b18e21a4fff2cdaf7d38e9c572dc.gz
author j.forth <j.forth@gold.ac.uk>
date Tue, 23 Feb 2010 15:03:41 +0000
parents 00d35eb70ef9
children
line wrap: on
line source
(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)))