r3613: *** empty log message ***
[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.4 2002/12/13 05:44:19 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   "List of class options for hyperobjects.")
26 (defparameter *slot-options*
27   '(:print-formatter :description :user-name
28     :subobject :hyperlink :hyperlink-parameters
29     :index :inverse :unique :sql-name)
30   "Slot options that can appear as an initarg")
31 (defparameter *slot-options-no-initarg*
32   '(:ho-type :sql-type :length)
33   "Slot options that do not have an initarg")
34