home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)cbcadmodel.tcl /main/titanic/1
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)cbcadmodel.tcl /main/titanic/1 26 Nov 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- require "cbclass.tcl"
- require "cbbinaryas.tcl"
- require "cbnaryasso.tcl"
- # End user added include file section
-
-
- Class CBCADModel : {Object} {
- method destructor
- constructor
- }
-
- method CBCADModel::destructor {this} {
- # Start destructor user section
- # End destructor user section
- }
-
- constructor CBCADModel {class this} {
- set this [Object::constructor $class $this $this]
-
- # Add creator scripts to the ObjectFactory
- set objFac [$this getObjectFactory]
- $objFac addCreatorScript $OMT_CAD_NaryAssocConn \
- "return \[CBNaryAssoc new $this]"
- # Combined types
- $objFac addCreatorScript $OMT_CAD_CB_Class \
- "return \[CBClass new $this]"
- $objFac addCreatorScript $OMT_CAD_CB_Association \
- "return \[CBBinaryAssoc new $this]"
-
- return $this
- }
-
- # Do not delete this line -- regeneration end marker
-
-