Combining formal methods and aspects for specifying and enforcing architectural invariants
COORDINATION'07 Proceedings of the 9th international conference on Coordination models and languages
An introduction to network stack design using software design patterns
MACE'10 Proceedings of the 5th IEEE international conference on Modelling autonomic communication environments
Modeling and enforcing invariants of dynamic software architectures
Software and Systems Modeling (SoSyM)
Automatic generation of provably correct embedded systems
ICFEM'12 Proceedings of the 14th international conference on Formal Engineering Methods: formal methods and software engineering
Translation of Z specifications to executable code: Application to the database domain
Information and Software Technology
Hi-index | 0.00 |
Object-Z is an object-oriented extension of the Z notation for formal specifications. Using Object-Z, structuring and developing large, complex software system specifications became possible by defining the systems as collections of independent classes and objects. The Class Schema framework in Object Z suggests that a one-to-one relationship exists between a class schema and a skeletal Java class with its design contract. The design contract for a Java class includes the invariant property of the class state, the pre and post conditions for the methods. This paper, demonstrates how Java skeletal code with design contracts can be generated from the specifications written in a subset of Object Z. Object Z class schema specification defined using a graphical user interface is converted to a XML representation. The Java skeletal code containing the design contracts is then generated by processing the XML representation.