Which figure illustrates compliant use of UML information items for these currency exchanges?

In a model of a commercial transaction, actors might exchange euros, pesos, and dollars.

Which figure illustrates compliant use of UML information items for these currency exchanges?

A . Figure 1
B . Figure 2
C . Figure 3
D . Figure 4

Answer: B

Explanation:

In UML, an InformationItem represents an abstraction of all those elements in a UML model that have an information-bearing feature. It is depicted as a classifier with the keyword «informationItem». An InformationItem does not have direct instances and serves as a mechanism to handle unspecified, untyped information in a model. In the context of a commercial transaction model, currencies such as euros, pesos, and dollars can be abstractly represented as InformationItems to signify that they are used as a form of data exchange but without specifying the concrete structure or data type. Figure 2 correctly uses InformationItem notation, with the «informationItem» keyword and the directed association pointing from the Currency InformationItem to the Euro, Peso, and Dollar, which are likely representations or manifestations of the Currency. This complies with the UML specification for representing abstract entities in models that are involved in the exchange or flow of information.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments