r4995: 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.7 2003/05/14 05:29:48 kevin Exp $
12 ;;;;
13 ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg
14 ;;;; *************************************************************************
15  
16 (in-package :hyperobject)
17
18 (eval-when (:compile-toplevel :execute)
19   (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2))))
20
21   
22 (defparameter *class-options*
23   '(:user-name :default-print-slots :description :version :sql-name
24     :direct-rules)
25   "List of class options for hyperobjects.")
26 (defparameter *slot-options*
27   '(:value-type :print-formatter :description :user-name
28     :subobject :hyperlink :hyperlink-parameters
29     :index :inverse :unique :sql-name :null-allowed :stored
30     :input-filter :unbound-lookup
31     :value-constraint :nil-text)
32   "Slot options that can appear as an initarg")
33 (defparameter *slot-options-no-initarg*
34   '(:ho-type :sql-type :length)
35   "Slot options that do not have an initarg")
36