operation

An operation is a specification of a transformation or query that an object may be called to execute.

See also call, method, resolution.

Semantics

An operation specifies a transformation on the state of the target object (and possibly the state of the rest of the system reachable from the target object) or a query that returns a value to the caller of the operation. It has a name and a list of parameters, including return parameters. It may impose constraints on parameters or the target object before or after invocation.

An operation is invoked by a call, which suspends the caller until the execution of the operation is complete, after which the caller resumes control beyond the point of the call, receiving a return value if one is ...

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.