INTRODUCING OBJECTCHARTS OR HOW TO USE STATECHARTS IN OBJECT-ORIENTED DESIGN

被引:66
作者
COLEMAN, D [1 ]
HAYES, F [1 ]
BEAR, S [1 ]
机构
[1] HEWLETT PACKARD CO,TECH STAFF,BRISTOL BS12 6QZ,ENGLAND
关键词
OBJECT ORIENTED; DESIGN; SPECIFICATION; STATECHARTS; FORMAL;
D O I
10.1109/32.120312
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Object-oriented design is a software development method which is carried out in a bottom up fashion. Recently, much work has been done on providing notations to support top-down design and architectural descriptions. This paper introduces such a notation called "Objectcharts" for specifying object classes. An Objectchart diagram is an extended form of a Statechart, which characterizes the behavior of a class as a state machine. The Objectchart transitions correspond to the state-changing methods that the class provides and those that it requires of other classes. Object attributes and observer methods annotate Objectchart states. Firing and postconditions are used to specify the effect of transitions on class attributes. The Objectchart notation is described through the development of an Alarm Clock application. The paper shows how Objectcharts can be used to find subtyping inheritance relationships between classes, and concludes with a description of a systematic approach for evolving Objectchart specifications.
引用
收藏
页码:9 / 18
页数:10
相关论文
共 16 条
[1]   OBJECT-ORIENTED DEVELOPMENT [J].
BOOCH, G .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (02) :211-221
[2]  
BOOCH G, 1991, OBJECT ORINETED DESI
[3]  
Denning P. J, 1978, MACHINES LANGUAGES C
[4]   STATECHARTS - A VISUAL FORMALISM FOR COMPLEX-SYSTEMS [J].
HAREL, D .
SCIENCE OF COMPUTER PROGRAMMING, 1987, 8 (03) :231-&
[5]  
HAYES F, 1991, IN PRESS P OOPSLA 91
[6]  
Hoare C.A.R., 1985, COMMUNICATING SEQUEN
[7]  
HZREL D, 1987, 2ND P IEEE S LOG COM, P54
[8]  
Jones C. B., 1990, SYSTEMATIC SOFTWARE, V2
[9]  
PAGEJONES M, 1989, SYNTHESIS COURSE NOT
[10]  
PASOR O, 1991, HPL9148 HEWL PACK LA