@phdthesis{oai:tsukuba.repo.nii.ac.jp:00008727, author = {Jauhar, Ali and ジョハル, アリ}, month = {}, note = {Object-oriented methodologies suggest to create different models of a system indicative of its different aspects. Object Modeling Technique (OMT), an object-oriented methodology, represents the static structure of classes in a system by an ER-style diagram called the object model, and the dynamic behavior of the classes by a set of state transition diagrams called the dynamic model. To speed up the software development process, it has been desired to have CASE tools that can automatically generate code from these models. In the present work, an attempt has been made to find methods to automatically generate executable code from the object-oriented models in general and the dynamic model in particular. An object-oriented approach has been proposed to convert a state diagram representing the behavior of a multi-state class into code. States are treated as classes and transitions as their operations. Inheritance is used to implement state hierarchy and object composition is used to implement concurrent states. It is realized that active objects can well be represented by activity diagrams rather than state diagrams. In the proposed approach, active objects are implemented as Java threads. A system, O-Code, has also been developed that implements the proposed method and automatically generates executable Java code from the specifications of the object and dynamic models. A comparison with Rhapsody shows that the code generated by O-Code is much more compact, efficient and understandable than that of Rhapsody., 1998}, school = {筑波大学, University of Tsukuba}, title = {Automatic code generation from object oriented models}, year = {1998} }