StateModelRev05f.ppt - RJL rev. 050918  14
StateModel Design – 13
StateModel and State
(hyper-linked from the Data Model)
•
•StateModel SM /* State Model for some Active Class method */
•{
• SMid NA c8 1 /* pkey of this State Model */
• SVid NA  c8 1 /* fkey of Schema Version */
• ACid NA c8 1 /* Active Class having this state model */
• Abbrev NA  i4 0 /* ttabbrev of Modeled Object? */
• SMName NA c32  0 /* Name of this state model */
• SMdescription t80 0 /* Description of State Model */
•}
•
•State ST / * One state or stage of  behavior  */ 
•{
• STid NA c8 1 /* pkey of this STate */
• SMid NA c8 1 /* fkey of parent State Model */
• STname NA c32 0 /* a name to identify this state */
• ARname NA c32 0 /* Action Routine (func) Name */
• ARptr  NA i4 0 /* Action Routine (func) index (04f522)*/
• Descrip NA t80 0 /* Full Name or Description of State */
•}
•