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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ambler SW (2009) A UML profile for data modeling. Technical report, AgileData.org. www.agiledata.org/essays/umlDataModelingProfile.html
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
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
Blaha M, Premerlani W (1998) Object-oriented modeling and design for database applications. Prentice-Hall, Englewood Cliffs
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
Chen PP (1976) The entity-relationship model – toward a unified view of data. ACM Trans Database Syst 1(1):9–36
Cabot J, Teniente E (2009) Incremental integrity checking of UML/OCL conceptual schemas. J Syst Softw 82(9):1459–1478
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
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
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
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
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
Halpin TA (2002) Metaschemas for ER, ORM and UML data models: a comparison. J Database Manag 13(2):20–30
Halpin TA, Bloesch AC (1999) Data modeling in UML and ORM: a comparison. J Database Manag 10(4):4–13
Marcos E, Vela B, Cavero JM (2003) A methodological approach for object-relational database design using UML. Softw Syst Model 2(1):59–75
Olive A (2007) Conceptual modeling of information systems. Springer, Berlin
OMG (ed) (2003) Common Warehouse Metamodel (CWM) Specification VÂ 1.1. www.omg.org
OMG (ed) (2010) Object Constraint Language (OCL) Specification VÂ 2.2. www.omg.org
OMG (ed) (2010) Unified Modeling Language (UML) Specification VÂ 2.3. www.omg.org
Rumbaugh J, Booch G, Jacobson I (2005) The Unified Modeling Language reference manual, 2nd edn. Addison-Wesley, Reading
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
Raventós R, Olive A (2008) An object-oriented operation-based approach to translation between MOF metaschemas. Data Knowl Eng 67(3):444–462
Smith JM, Smith DCP (1977) Database abstractions: aggregation and generalization. ACM Trans Database Syst 2(2):105–133
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
Warmer J, Kleppe A (2003) The Object Constraint Language: precise modeling with UML, 2nd edn. Addison-Wesley, Reading
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)