Prev | Current Page 307 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"

Visibility is not shown in the SysML notation.
3.3.3 Operation
class Customer with operation
Customer
pinCheck(pin:String):Boolean
FIGURE 3-10
Operation of the class ???customer.???
3.3 The Class Diagram
Defi nition
An operation defines a behavior property of a class. The description consists
of a visibility, a name, as well as parameters and a return type.
The behavior of a class is largely described by the sum of its operations. The class
customer in Figure 3.10 has an operation called pinCheck(/) with an input parameter,
pin:String , and a return type, Boolean . The input parameter passed on to this
operation is a string ( pin:String ). It verifies whether or not the string corresponds
to the PIN of that customer and returns a Boolean value (true/false) as the result.
The actual verification of a PIN is part of the implementation of the operation, but
you can ??™ t see it in the class diagram. Often it is not directly described in the UML
model either. It is often described in mechanical or electronic components, for
example, in a hardware development project.


Pages:
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
Midnight Oil Mike and the Mechanics James Morrison Lene Marlin Marie