StateModelRev05f.ppt - RJL rev. 050918  8
StateModel Design – 8a
Schema Tree (Tables Depth-First)
BB TT000001
NS NameSpace        /* identifies a namespace scope for pkeys */
BB TA000001 TT000001
/* 4 attributes of class NS: NSId, NSname, NSowner, NSmodDate */
EB T000004
SV SchemaVersion  /* identifies schema and tracks changes*/
BB TA000005 TT000002
/* 6 attributes of class SV: SVid, NSid, name, version, author, date ) */
EB TA000008
SM StateModel      /* Model for one Active Class */                        
BB TA000009  TT000003
SMid   NA  c8 1  /* pkey of this State Model */
Abbrev NA c4 0  /* ttabbrev of Modeled Object? */
Name  NA t80 0 /* Full Name or Description of SM */
EB TA000011
ST State /* Behavior of this state */           
BB TA000012 TT000004
STid      NA c8 1 /* pkey of this STat e */
SMid      NA c8 1 /* fkey of parent State Model*/
ActName NA c8 0 /* Action Routine Name */
ActFunc  NA c8 0 /* index into Action Routine Pointer Array  */
Name      NA t80 0 /* Full Name or Description of State*/
EB TA000016
(continued next slide)
(Schema reordered so each TT-row is followed by its TA children;
 Table keys are consecutive within Begin/Enb Brackes (BB, EB)
 BB contains first pkey and invariant fkey for its block.)
Column Names:
TT: TTabb      TableName     Description
TA: Name  NA  type  is_key   Description