home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)msumleleme.tcl /main/hindenburg/8
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)msumleleme.tcl /main/hindenburg/8 15 May 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- #require "msumlnamed.tcl"
-
- Class MSUMLElement : {MSUMLNamedObject} {
- constructor
- method destructor
- method promoter
- method package
- attribute _package
- }
-
- constructor MSUMLElement {class this typeName} {
- set this [MSUMLNamedObject::constructor $class $this $typeName]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method MSUMLElement::destructor {this} {
- set ref [$this _package]
- if {$ref != ""} {
- [$ref _elementSet] removeValue $this
- }
- # Start destructor user section
- # End destructor user section
- $this MSUMLNamedObject::destructor
- }
-
- method MSUMLElement::promoter {this} {
- $this MSUMLNamedObject::promoter
- }
-
- # Do not delete this line -- regeneration end marker
-
- method MSUMLElement::package {this args} {
- if {$args == ""} {
- return [$this _package]
- }
- set ref [$this _package]
- if {$ref != ""} {
- [$ref _elementSet] removeValue $this
- }
- set obj [lindex $args 0]
- if {$obj != ""} {
- [$obj _elementSet] append $this
- }
- $this _package $obj
- }
-
-