Action

UML has a set of primitive actions that model manipulation of objects and links as well as computation and communication among objects. UML does not define a syntax for actions because it is expected that most models will use an existing action language or programming language. Table 8-1 shows the various kinds of actions.

Table 8-1. Kinds of actions
CategoryActionsPurpose
classificationreadIsClassifiedObject

reclassifyObject

testIdentity
test classification

change classification

test object identity
communicationbroadcastSignal

callOperation

reply

(implicit) return

sendObject

sendSignal
broadcast

normal call

reply after explicit accept

implicit action on activity end

send signal as object

send signal as argument list
computationaccept call ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.