Changes for page Exercises
Last modified by Carlijn Kokkeler on 2022/10/19 13:32
From version 12.1
edited by Carlijn Kokkeler
on 2022/10/19 11:41
on 2022/10/19 11:41
Change comment:
There is no comment for this version
To version 8.1
edited by Carlijn Kokkeler
on 2022/09/30 10:03
on 2022/09/30 10:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,19 +13,44 @@ 13 13 14 14 == 3. CDM, CDM & system message, message mapping == 15 15 By following the steps below, you should gain a better understanding of the differences between CDM, CDM messages, and system messages. 16 + 17 +== 3.1 Creating a CDM == 18 +Please add the following entities and attributes to your CDM: 19 + 20 +* Person, with attributes ID, Name, and Email 21 +* PlatformCourse, with attributes ID and Name 16 16 17 -* Creating a CDM 18 - Please import the file Order.xsd in your CDM. 19 -* Creating a CDM message 20 - Now, go to your CDM message and select Order as root entity. Add all other entities and attributes from Order.xsd, which were imported into the CDM, to your CDM message definition. 21 -* Creating a system message 22 - In one of your System messages, import the file TransportOrder.xsd. Select CreateOrder as root entity and add all other entities and attributes to your system definition. 23 23 24 +One person has access to many platform courses. It should look like the following: 25 + 26 +[[image:Main.Images.Usecase.WebHome@data-modeling-in-design-exercises--adding-attributes-entities-CDM.png]] 27 + 28 +== 3.2 Creating a CDM message == 29 +Now, go to your CDM message and add the Person and PlatformCourse to your message definition, including all attributes. It should look like the following: 30 + 31 +[[image:Main.Images.Usecase.WebHome@data-modeling-in-design-exercises--adding-message-definition-CDM-message.png]] 32 + 33 +== 3.3 Creating a system message == 34 +In System message, create the following entities and attributes: 35 + 36 +* User, with attributes ID and Name 37 +* Course, with attributes ID and Name 38 + 39 + 40 +One user has access to many courses. It should look like the following: 41 + 42 +[[image:Main.Images.Usecase.WebHome@data-modeling-in-design-exercises--adding-attributes-entities-system-message.png]] 43 + 44 +Now, remove the attribute Name in Course by using the Toggle canvas edit mode. It should result in the following: 45 + 46 +[[image:Main.Images.Usecase.WebHome@data-modeling-in-design-exercises--remove-attribute-system-message.png]] 47 + 24 24 == 3.4 Complete message mapping == 25 25 26 26 Now that you have completed these steps, go to Message mapping and complete the mapping. 27 27 28 -The solutions to these exercises can be found [[here>>doc:Main.eMagiz Academy.Use Cases.Data modeling in Design.Exercises.Solutions.WebHome||target="blank"]]. 52 +[[image:Main.Images.Usecase.WebHome@data-modeling-in-design-exercises--complete-message-mapping.png]] 53 + 29 29 30 30 == 4. Key takeaways == 31 31