Skip to main content

UML and OCL in Conceptual Modeling

  • Chapter
  • First Online:
Handbook of Conceptual Modeling

Abstract

The development of the entity-relationship (ER) model is one of the cornerstones for conceptual modeling of information systems. The Unified Modeling Language (UML) and the Object Constraint Language (OCL) take up central ideas from the ER model and put them into a broad software development context by proposing various graphical sublanguages and diagrams for specialized software development tasks and by adding more precision through textual constraints. The first section of this contribution will introduce the correspondence between basic ER modeling concepts and their UML counterparts. The next part will explain how more advanced conceptual modeling concepts can be formulated in UML. In the following section we will use OCL for features not expressible in diagrammatic form. Then we turn to the description of relational databases with UML. Before we conclude, we will show how to metamodel conceptual modeling features with UML itself and discuss further relevant work from the literature.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. Ambler SW (2009) A UML profile for data modeling. Technical report, AgileData.org. www.agiledata.org/essays/umlDataModelingProfile.html

  2. Abrahão SM, Poels G, Pastor O (2006) A functional size measurement method for object-oriented conceptual schemas: design and evaluation issues. Softw Syst Model 5(1):48–71

    Article  Google Scholar 

  3. Büttner F, Gogolla M, Hamann L, Kuhlmann M, Lindow A (2010) On better understanding OCL collections *or* an OCL ordered set is not an OCL set. In: Ghosh S (ed) Workshops and symposia at the 12th international conference on model-driven engineering languages and systems (MODELS’2009). Lecture notes in computer science, vol 6002. Springer, Berlin, pp 276–290

    Google Scholar 

  4. Blaha M, Premerlani W (1998) Object-oriented modeling and design for database applications. Prentice-Hall, Englewood Cliffs

    Google Scholar 

  5. Costal D, Gómez C, Queralt A, Raventós R, Teniente E (208) Improving the definition of general constraints in UML. Softw Syst Model 7(4):469–486

    Google Scholar 

  6. Chen PP (1976) The entity-relationship model – toward a unified view of data. ACM Trans Database Syst 1(1):9–36

    Article  Google Scholar 

  7. Cabot J, Teniente E (2009) Incremental integrity checking of UML/OCL conceptual schemas. J Syst Softw 82(9):1459–1478

    Article  Google Scholar 

  8. Demuth B, Hussmann H, Loecher S (2001) OCL as a specification language for business rules in database applications. In: Gogolla M, Kobryn C (eds) Proceedings of the 4th international conference on Unified Modeling Language (UML’2001), 2001. Lecture notes in computer science, vol 2185. Springer, Berlin, pp 104–117

    Chapter  Google Scholar 

  9. Gogolla M (1999) Identifying objects by declarative queries. In: Papazoglou MP, Spaccapietra S, Tari Z (eds) Advances in object-oriented data modeling. MIT Press, Cambridge, pp 255–277

    Google Scholar 

  10. Gogolla M (2005) Tales of ER and RE syntax and semantics. In: Cordy JR, Lämmel R, Winter A (eds) Transformation techniques in software engineering. IBFI, Schloss Dagstuhl. Dagstuhl Seminar Proceedings 05161. 51 pp

    Google Scholar 

  11. Gogolla M, Bohling J, Richters M (2005) Validating UML and OCL models in USE by automatic snapshot generation. J Softw Syst Model 4(4):386–398

    Article  Google Scholar 

  12. Gogolla M, Büttner F, Richters M (2007) USE: a UML-based specification environment for validating UML and OCL. Sci Comput Programm 69:27–34

    Article  MATH  Google Scholar 

  13. Halpin TA (2002) Metaschemas for ER, ORM and UML data models: a comparison. J Database Manag 13(2):20–30

    Article  Google Scholar 

  14. Halpin TA, Bloesch AC (1999) Data modeling in UML and ORM: a comparison. J Database Manag 10(4):4–13

    Google Scholar 

  15. Marcos E, Vela B, Cavero JM (2003) A methodological approach for object-relational database design using UML. Softw Syst Model 2(1):59–75

    Article  Google Scholar 

  16. Olive A (2007) Conceptual modeling of information systems. Springer, Berlin

    MATH  Google Scholar 

  17. OMG (ed) (2003) Common Warehouse Metamodel (CWM) Specification V 1.1. www.omg.org

  18. OMG (ed) (2010) Object Constraint Language (OCL) Specification V 2.2. www.omg.org

  19. OMG (ed) (2010) Unified Modeling Language (UML) Specification V 2.3. www.omg.org

  20. Rumbaugh J, Booch G, Jacobson I (2005) The Unified Modeling Language reference manual, 2nd edn. Addison-Wesley, Reading

    Google Scholar 

  21. Richters M, Gogolla M (1998) On formalizing the UML Object Constraint Language OCL. In: Ling T-W, Ram S, Lee ML (eds) Proceedings of the 17th international conference on conceptual modeling (ER’98). Lecture notes in computer science, vol 1507. Springer, Berlin, pp 449–464

    Google Scholar 

  22. Raventós R, Olive A (2008) An object-oriented operation-based approach to translation between MOF metaschemas. Data Knowl Eng 67(3):444–462

    Article  Google Scholar 

  23. Smith JM, Smith DCP (1977) Database abstractions: aggregation and generalization. ACM Trans Database Syst 2(2):105–133

    Article  Google Scholar 

  24. Urban SD, Dietrich SW (2003) Using UML class diagrams for a comparative analysis of relational, object-oriented, and object-relational database mappings. In: Grissom S, Knox D, Joyce D, Dann W (eds) Proceedings of the 34th SIGCSE technical symposium on computer science education (2003). ACM, New York, pp 21–25

    Chapter  Google Scholar 

  25. Warmer J, Kleppe A (2003) The Object Constraint Language: precise modeling with UML, 2nd edn. Addison-Wesley, Reading

    Google Scholar 

  26. Zubcoff JJ, Trujillo J (2007) A UML 2.0 profile to design association rule mining models in the multidimensional conceptual modeling of data warehouses. Data Knowl Eng 63(1):44–62

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Martin Gogolla .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Gogolla, M. (2011). UML and OCL in Conceptual Modeling. In: Embley, D., Thalheim, B. (eds) Handbook of Conceptual Modeling. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15865-0_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-15865-0_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-15864-3

  • Online ISBN: 978-3-642-15865-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics