Title :
Toward constraint-object-oriented development
Author :
Bolognesi, Tommaso
Author_Institution :
Istituto di Elaborazione dell´´Inf., CNR, Pisa, Italy
fDate :
7/1/2000 12:00:00 AM
Abstract :
In this paper, we propose to conservatively extend object-oriented decomposition by letting it affect also operations (methods). Different objects may support different parts of the same operation. The responsibility of defining an operation, in terms of enabling conditions and effects on the state, is distributed over several interacting objects, which act as constraints and express different, partial views about the system behavior. Constraint-oriented reasoning has already been explored and applied in the context of formal specification languages for concurrent and reactive systems, and is sufficiently different from object-oriented reasoning to be considered as a paradigm in itself, with its own specific advantages. Nevertheless, the paper shows that the two approaches are sufficiently compatible to be profitably integrated. We introduce a constraint-oriented style for an object-oriented programming language (JAVA)
Keywords :
Java; constraint handling; formal specification; object-oriented programming; JAVA programming; LOTOS; constraint-object-oriented development; constraint-oriented reasoning; constraint-oriented specification; constraints; interacting objects; multi-object operation; object-oriented decomposition; object-oriented reasoning; partial views; Computer languages; Data encapsulation; Design methodology; Engineering management; Formal specifications; Isolation technology; Java; Object oriented programming; Programming profession; Software engineering;
Journal_Title :
Software Engineering, IEEE Transactions on