Title :
Introducing Objectcharts or how to use Statecharts in object-oriented design
Author :
Coleman, Derek ; Hayes, Fiona ; Bear, Stephen
Author_Institution :
Hewlett-Packard Lab., Bristol, UK
fDate :
1/1/1992 12:00:00 AM
Abstract :
A notation called Objectcharts for specifying object classes is introduced. 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 notions is described through the development of an alarm clock application. How Objectcharts can be used to find subtyping inheritance relationships between classes and a systematic approach for evolving Objectchart specifications are shown
Keywords :
data structures; diagrams; formal specification; object-oriented programming; Objectchart notions; Objectchart specifications; Objectchart states; Objectchart transitions; Statechart; alarm clock application; object classes; observer methods; postconditions; state machine; state-changing methods; subtyping inheritance relationships; Clocks; Cyclic redundancy check; Design methodology; Encapsulation; Information analysis; Laboratories; Object oriented modeling; Object oriented programming; Protocols; Software design;
Journal_Title :
Software Engineering, IEEE Transactions on