This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2007 31st Annual International Computer Software and Applications Conference
OCL4X: An Action Semantics Language for UML Model Execution
Beijing, China
July 24-July 27
ISBN: 0-7695-2870-8
Ke Jiang, Hitachi (China) Research & Development Corporation, China
Lei Zhang, Hitachi (China) Research & Development Corporation, China
Shigeru Miyake, Hitachi (China) Research & Development Corporation, China
Unified Modeling Language (UML) is widely used for software modeling [1]. UML is not defined precisely enough for unambiguous model execution. Therefore, the first and most important requirement for model execution is precisely modeling the actions. An action takes a set of inputs and converts them into a set of outputs, where either or both sets may be empty. It is the fundamental unit of behavior specification. So a precise Action Semantics Language (ASL) and a specified syntax are required [2]. Unfortunately, actions defined in UML do not have a concrete syntax and OMG does not recommend a specific language, so there is not a standard ASL. Object Constraint Language (OCL) is a formal language used to describe expressions on UML models [3]. It is a specification language, but not a programming language. The high overlap between ASL and OCL suggests that OCL can be used partly for ASL. OCL for Execution (OCL4X) is defined based on OCL to implement operations that have side effects and provide the ability for model execution. By mapping from ASL to OCL, we use OCL to express some actions in ASL. New syntax constructs are added to the standard OCL, together with their semantics. Finally, an example is given to show how to use OCL4X.
Citation:
Ke Jiang, Lei Zhang, Shigeru Miyake, "OCL4X: An Action Semantics Language for UML Model Execution," compsac, vol. 1, pp.633-636, 2007 31st Annual International Computer Software and Applications Conference, 2007
Usage of this product signifies your acceptance of the Terms of Use.