parameter
The specification of a variable that can be changed, passed, or returned. A parameter may include a name, type, and direction. Parameters are used for operations, messages, events, and templates. Contrast: argument.
A parameter usage dependency relates an operation having a parameter or a class containing such an operation to the class of the parameter.
See also argument, binding.
Semantics
A parameter is a placeholder for a value that is bound to it when the enclosing element is used. It constrains the values that the argument can take. It has the following parts.
default value | An expression for a value to be used if no argument is supplied for the parameter. The expression is evaluated when the parameter list is bound to arguments. ... |
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.