Prev | Current Page 321 | Next

Tim Weilkiens

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

Two equal values cannot
be distinguished. This is different with classes. Two objects with the same
attribute values can be distinguished: they are equal but not identical.
Data types are denoted like classes, with the keyword ?«dataType?» above the
name ( Figure 3.22 ).
A primitive type has no structures. For example, date is not a primitive type
since it has structure elements like day , month , and year . UML has four predefi -
ned primitive types: Integer , Boolean , String , and UnlimitedNatural. Unlimited
Natural is the value range for natural numbers, including zero and * as the symbol
for infi nite.
163
A primitive type is denoted like a class, with the keyword ?«primitive?» above
the name ( Figure 3.22 ).
Another special data type is enumeration. Its value range consists of a limited
set of literals, which have to be fully stated. Figure 3.22 shows an example of an
extended control value with four literals.
3.3.12 Association Class
class Pumping system
Container
0..2 0..1
Pump
Hose
diameter:Integer
FIGURE 3-23
Example for an association class.


Pages:
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
kasyno kino azjatyckie bwin out of home advertising Bukmacher pinacle