Abstract:Abstract. Design by contract, as introduced by B.Meyer, is of increasing importance to the OO community in the specification, reuse, and monitoring of classes. We strongly feel that class libraries of all programming languages should be equipped with contracts, insofar as these constitute a powerful and simple interface definition. Very powerful and expressive contracts can be written using the OCL language, although for operations with many effects on the system state, these contracts can become unmanageable … Show more
“…In order to be able to simulate and reason about UML models we have to extend OCL to be able to reference other non-query OCL specifications from within a pre-or postcondition. To achieve this, we use Nunes' [42] approach, which makes this extension to OCL and provides its formal semantics. The main benefit of the extension is that it makes OCL more expressive.…”
Section: Uml2alloy Class Diagram and Ocl Inputmentioning
“…In order to be able to simulate and reason about UML models we have to extend OCL to be able to reference other non-query OCL specifications from within a pre-or postcondition. To achieve this, we use Nunes' [42] approach, which makes this extension to OCL and provides its formal semantics. The main benefit of the extension is that it makes OCL more expressive.…”
Section: Uml2alloy Class Diagram and Ocl Inputmentioning
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.