Prev | Current Page 316 | Next

Tim Weilkiens

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

In software development it is common
to use the term inheritance rather than generalization . In Figure 3.18 , the
class Location inherits all properties from the class Waypoint . This means that an
object of type Location has an attribute coordinates in addition to the attribute
name . Not only attributes are inherited, but also constraints and operations, if
defined.
A generalization is denoted as an arrow with solid line and hollow triangle as
an arrowhead. It is read as ??? is a kind of ??? in the direction of the arrow. In Figure
3.18 , we read, ??? a location is a kind of waypoint. ???
The relationship forms a hierarchy. This is why we speak of superclasses and
subclasses. The class Location is a subclass of the superclass Waypoint .
A generalization is also permitted between actors and between use cases. It ??™ s
the same model element and the same concept in all cases. However, it must not
159 3.3 The Class Diagram
FIGURE 3-17
Example for an abstraction dependency.
pkg Models
Business process model
?«business process?»
Rental cars
System model on-board computer
Start car usage
?«trace?»
FIGURE 3-18
Example for a generalization.


Pages:
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
przeprowadzki wrocław poker bonus kody Wisła noclegi zasady pokera długopisy reklamowe