r4920: Auto commit for Debian build
[hyperobject.git] / metaclass.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          metaclass.lisp
6 ;;;; Purpose:       Define options for hyperobject metaclass
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Apr 2000
9 ;;;;
10 ;;;;
11 ;;;; $Id: metaclass.lisp,v 1.6 2002/12/14 02:30:58 kevin Exp $
12 ;;;;
13 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
14 ;;;;
15 ;;;; *************************************************************************
16  
17 (in-package :hyperobject)
18
19 (eval-when (:compile-toplevel :execute)
20   (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2))))
21
22   
23 (defparameter *class-options*
24   '(:user-name :default-print-slots :description :version :sql-name
25     :direct-rules)
26   "List of class options for hyperobjects.")
27 (defparameter *slot-options*
28   '(:value-type :print-formatter :description :user-name
29     :subobject :hyperlink :hyperlink-parameters
30     :index :inverse :unique :sql-name :null-allowed :stored
31     :input-filter :unbound-lookup
32     :value-constraint :nil-text)
33   "Slot options that can appear as an initarg")
34 (defparameter *slot-options-no-initarg*
35   '(:ho-type :sql-type :length)
36   "Slot options that do not have an initarg")
37