Choose the correct answer:
Consider the following diagram fragment:
Which diagram fragment correctly specifies task behavior based on task priority?
A)
B)
The correct answer is B, which uses a selection edge to specify task behavior based on task priority. In UML, an object flow with a selection property is used to select objects from a collection according to some criterion, which is typically represented by a Boolean expression. In the case of B, the selection criterion is described as 'ordering = the most important first', indicating that tasks are selected to be executed based on their priority.
UML 2.5 Specification: The UML 2.5 specification describes how selection behaviors can be applied to object flows to filter objects according to specific criteria, such as priority in this scenario.
Cecilia
2 months agoCoral
2 months agoMabelle
21 days agoHortencia
25 days agoBrinda
1 months agoLeonida
2 months agoWillie
26 days agoDesiree
1 months agoWhitney
1 months agoTula
3 months agoMitsue
3 months agoTula
3 months agoZona
3 months agoLuz
2 months agoChery
2 months ago