home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
drsphaseob.tcl
< prev
next >
Wrap
Text File
|
1997-08-29
|
2KB
|
52 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)drsphaseob.tcl /main/titanic/4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)drsphaseob.tcl /main/titanic/4 29 Aug 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
require reqdriver.tcl
# End user added include file section
require "drslevelob.tcl"
require "drssmmodel.tcl"
Class DrsPhaseObject : {DrsSMModelObject DrsLevelObject} {
method destructor
constructor
method childLevelVersions
method getPhase
}
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 [ReqDriver::searchOnVersion $versOfCurrLevel [$this versionId]]
return [$thisPhaseVers systemVersions]
}
method DrsPhaseObject::getPhase {this} {
return [$this level]
}
# Do not delete this line -- regeneration end marker