home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
drsphaseob.tcl
< prev
next >
Wrap
Text File
|
1997-02-04
|
2KB
|
55 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)drsphaseob.tcl /main/hindenburg/5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)drsphaseob.tcl /main/hindenburg/5 4 Feb 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "drslevelob.tcl"
require "drssmmodel.tcl"
#Class DrsPhaseObject : {DrsSMModelObject DrsLevelObject} {
# method destructor
# constructor
# method childLevelVersions
# method getChildLevels
# method getPhase
# method show
#}
method DrsPhaseObject::destructor {this} {
# Start destructor user section
# End destructor user section
$this DrsSMModelObject::destructor
$this DrsLevelObject::destructor
}
constructor DrsPhaseObject {class this phase levelV pLevel pLevelV} {
set this [DrsSMModelObject::constructor $class $this [$phase phaseVersions]]
set this [DrsLevelObject::constructor $class $this $phase $levelV $pLevel $pLevelV]
$this childLevels [$phase systems]
$this levelVersions [$phase phaseVersions]
return $this
}
method DrsPhaseObject::childLevelVersions {this} {
set versOfCurrLevel [[$this level] phaseVersions]
set thisPhaseVers [searchOnVersion $versOfCurrLevel [$this versionId]]
return [$thisPhaseVers systemVersions]
}
method DrsPhaseObject::getPhase {this} {
return [$this level]
}
# Do not delete this line -- regeneration end marker