File: metaclass.lisp

package info (click to toggle)
cl-hyperobject 2.11.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 300 kB
  • ctags: 224
  • sloc: lisp: 1,820; xml: 215; makefile: 161; sh: 28
file content (34 lines) | stat: -rw-r--r-- 1,353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          metaclass.lisp
;;;; Purpose:       Define options for hyperobject metaclass
;;;; Programmer:    Kevin M. Rosenberg
;;;; Date Started:  Apr 2000
;;;;
;;;;
;;;; $Id: metaclass.lisp 11442 2007-01-03 09:49:11Z kevin $
;;;;
;;;; This file is Copyright (c) 2000-2006 by Kevin M. Rosenberg
;;;; *************************************************************************
 
(in-package #:hyperobject)

(defparameter *class-options*
  '(:user-name :default-print-slots :description :version :sql-name
    :guid :version :direct-functions :direct-views :direct-rules)
  "List of class options for hyperobjects.")

(defparameter *slot-options*
  '(:value-type :print-formatter :description :short-description :user-name
    :subobject :hyperlink :hyperlink-parameters :indexed :inverse :unique
    :sql-name :null-allowed :stored :input-filter :unbound-lookup
    :value-constraint :void-text :read-only-groups :hidden-groups :unit
    :compute-cached-value :disable-predicate :view-type :list-of-values)
  "Slot options that can appear as an initarg")

(defparameter *slot-options-no-initarg*
  '(:ho-type :sql-type :sql-length)
  "Slot options that do not have an initarg")