Prev | Current Page 302 | Next

Tim Weilkiens

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

This means
that we can still distinguish two customer objects that happen to have the same
attribute values. This is not the case with instances of data types.
We often speak of instances rather than of objects, and we say ??? instantiate
objects ??? rather than saying ??? create objects. ??? The formal name in UML is instance
specifi cation.
A class is denoted as a rectangle divided into several compartments : the name
compartment, the attribute compartment, and the operation compartment. While
the name compartment always has to be visible, the other compartments in the
diagram can be hidden ( Figure 3.6 ).
Objects are denoted in a similar way ( Figure 3.7 ). A colon is used to separate
the name of an object from its type. The text is underlined. The attributes contain
concrete values. Operations are not represented.
FIGURE 3-6
Example for class customer.
class Customer
pinCheck(pin)
name
ID
isBlocked
pinCheckCode
routes
name
ID
isBlocked
pinCheckCode
routes
Customer Customer Customer
FIGURE 3-7
Example for objects.


Pages:
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
Apartamenty Świnoujście noclegi hel Lokaty jednodniowe projekty domków letniskowych męskie skarpetki rowerowe