r11442: add compute-cached-value slot option
[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$
12 ;;;;
13 ;;;; This file is Copyright (c) 2000-2006 by Kevin M. Rosenberg
14 ;;;; *************************************************************************
15  
16 (in-package #:hyperobject)
17
18 (defparameter *class-options*
19   '(:user-name :default-print-slots :description :version :sql-name
20     :guid :version :direct-functions :direct-views :direct-rules)
21   "List of class options for hyperobjects.")
22
23 (defparameter *slot-options*
24   '(:value-type :print-formatter :description :short-description :user-name
25     :subobject :hyperlink :hyperlink-parameters :indexed :inverse :unique
26     :sql-name :null-allowed :stored :input-filter :unbound-lookup
27     :value-constraint :void-text :read-only-groups :hidden-groups :unit
28     :compute-cached-value :disable-predicate :view-type :list-of-values)
29   "Slot options that can appear as an initarg")
30
31 (defparameter *slot-options-no-initarg*
32   '(:ho-type :sql-type :sql-length)
33   "Slot options that do not have an initarg")
34