Skip to main content

Transformation Rules for Translating Business Rules to OCL Constraints

  • Conference paper
Modelling Foundations and Applications (ECMFA 2011)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6698))

Included in the following conference series:

Abstract

In design of component based applications, the designers have to produce visual such as Unified Modeling Language (UML) models, and describe the software component interfaces. Business rules and constraints are the key components in the skeletons of software components. Semantic of Business Vocabulary and Rules (SBVR) language is typically used to express constraints in natural language and then a software engineer manually maps SBVR business rules to other formal languages such as UML, Object Constraint Language (OCL) expressions. However, OCL is the only medium used to write constraints for UML models but manual translation of SBVR rules to OCL constraints is difficult, complex and time consuming. Moreover, the lack of tool support for automated creation of OCL constraints from SBVR makes this scenario more complex. As, both SBVR and OCL are based on First-Order Logic (FOL), model transformation technology can be used to automate the transformation of SBVR to OCL. In this research paper, we present a transformation rules based approach to automate the process of SBVR to OCL transformation. The presented approach implemented in SBVR2OCL prototype tool as a proof of concept. The presented method softens the process of creating OCL constraints and also assists the designers by simplifying software designing process.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. OMG: Object Constraint Language (OCL), OMG Standard, v. 2.0 (2006)

    Google Scholar 

  2. Warmer, J., Kleppe, A.: The Object Constraint Language – Getting Your Models Ready for MDA, 2nd edn. Addison Wesley, Reading (2003)

    Google Scholar 

  3. Cabot J., et al.: UML/OCL to SBVR Specification: A challenging Transformation. Journal of Information systems (2009) doi:10.1016/j.is.2008.12.002

    Google Scholar 

  4. Linehan, M.: SBVR Use Cases. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2008. LNCS, vol. 5321, pp. 182–196. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  5. Raj, A., Prabharkar, T., Hendryx, S.: Transformation of SBVR Business Design to UML Models. In: ACM Conference on India software engineering, pp. 29–38 (2008)

    Google Scholar 

  6. Cabot, J., Teniente, E.: Transformation Techniques for OCL constraints. J. of Science of Computer Programming 68(03), 152–168 (2007)

    MathSciNet  MATH  Google Scholar 

  7. OMG: Semantics of Business vocabulary and Rules (SBVR), OMG Standard, v. 1.0 (2008)

    Google Scholar 

  8. Pau, R., Cabot, J.: Paraphrasing OCL Expressions with SBVR. In: Kapetanios, E., Sugumaran, V., Spiliopoulou, M. (eds.) NLDB 2008. LNCS, vol. 5039, pp. 311–316. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  9. Marcano, R.: Transformation Rules of OCL Constraints in to B Formal Expression. In: Fifth International Conference on UML – the langauge and its Applications, Workshop on Critical Systems Development with UML, Dresden, Germany (September 2003)

    Google Scholar 

  10. Enterprise Architect, http://www.sparxsystems.com/products/ea/

  11. Wahler M.: Using Patterns to Develop Consistent Design Constraints, PhD Thesis, ETH Zurich, Switzerland (2008)

    Google Scholar 

  12. Demuth B, Wilke C.: Model and Object Verification by Using Dresden OCL. In R.G. Workshop on Innovation Information Technologies: Theory and Practice, pp. 81–89 (2009)

    Google Scholar 

  13. IBM OCL Parser (September 2009), http://www-01.ibm.com/software/awdtools/library/standards/ocl-download.html

  14. Linehan, M.H.: Ontologies and Rules in Business Models, edocw. In: Eleventh International IEEE EDOC Conference Workshop, pp. 149–156 (2007)

    Google Scholar 

  15. Bajwa, I., Samad, A., Mumtaz, S.: Object Oriented Software modeling Using NLP based Knowledge Extraction. European Journal of Scientific Research 35(01), 22–33 (2009)

    Google Scholar 

  16. EmPowerTec, OCLarity, http://www.empowertec.de/index.htm

  17. Bryant, B., et al.: From Natural Language Requirements to Executable Models of Software Components. In: Workshop on S. E. for Embedded Systems, pp. 51–58 (2008)

    Google Scholar 

  18. De Tomassi, M., Pierpaolo, C.: Sbeaver Business Modeler Editor, http://www.sbeaver.sourceforge.net

  19. Bajwa I., Behzad B., Lee M.: OCL Constraints Generation from Natural Lanauge Specification. In: EDOC 2010 – 14th IEEE EDOC Conference, Vitoria, Brazil, pp. 204–213 (2010)

    Google Scholar 

  20. OMG: Unified Modeling Langauge (UML), OMG Standard, v. 2.1 (2007)

    Google Scholar 

  21. Akehurst, D.H., Boardbar, B., et al.: SiTra: Simple Transformations in Java. In: Wang, J., Whittle, J., Harel, D., Reggio, G. (eds.) MoDELS 2006. LNCS, vol. 4199, pp. 351–364. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  22. Bajwa, I., Lee M., Behzad B.: SBVR Business Rules Generation from Natural Lanauge Specification. In: AAAI 2011 Spring Symposium – AI for Business Agility, San Francisco, USA, pp. 2–8 (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bajwa, I.S., Lee, M.G. (2011). Transformation Rules for Translating Business Rules to OCL Constraints. In: France, R.B., Kuester, J.M., Bordbar, B., Paige, R.F. (eds) Modelling Foundations and Applications. ECMFA 2011. Lecture Notes in Computer Science, vol 6698. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21470-7_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21470-7_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21469-1

  • Online ISBN: 978-3-642-21470-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics